Tweaked gitignore

gitignore removed all composer and npm files, so automated builds would fail
This commit is contained in:
Henry Whitaker
2020-04-12 21:24:03 +01:00
parent 698687f12d
commit ea5808047f
27863 changed files with 3399604 additions and 5 deletions

View File

@@ -0,0 +1,22 @@
import * as React from 'react';
import Button, { ButtonProps } from './Button';
import { BsPrefixComponent, BsPrefixComponentClass } from './helpers';
export interface ToggleButtonProps {
type?: 'checkbox' | 'radio';
name?: string;
checked?: boolean;
disabled?: boolean;
onChange?: React.ChangeEventHandler<this>;
value: unknown;
inputRef?: React.LegacyRef<this>;
}
declare class ToggleButton<
// Need to use BsPrefixComponentClass to get proper type checking.
As extends React.ElementType = BsPrefixComponentClass<'button', ButtonProps>
> extends BsPrefixComponent<As, ToggleButtonProps> {}
export default ToggleButton;