npm and composer

This commit is contained in:
Henry Whitaker
2020-12-13 15:59:35 +00:00
parent ec51c2def6
commit 54ce0ece35
1586 changed files with 83653 additions and 23821 deletions

View File

@@ -1,13 +1,14 @@
import { ButtonGroupProps } from './ButtonGroup';
import ToggleButton from './ToggleButton';
import { BsPrefixPropsWithChildren, BsPrefixRefForwardingComponent } from './helpers';
export interface ToggleButtonRadioProps<T> extends BsPrefixPropsWithChildren {
import { BsPrefixRefForwardingComponent } from './helpers';
export interface ToggleButtonRadioProps<T> extends Omit<ButtonGroupProps, 'toggle'> {
type?: 'radio';
name: string;
value?: T;
defaultValue?: T;
onChange?: (value: T, event: any) => void;
}
export interface ToggleButtonCheckboxProps<T> extends BsPrefixPropsWithChildren {
export interface ToggleButtonCheckboxProps<T> extends Omit<ButtonGroupProps, 'toggle'> {
type: 'checkbox';
name?: string;
value?: T[];