UNPKG

786 BTypeScriptView Raw
1interface BSProps {
2 bsClass: any;
3 bsSize: any;
4 bsStyle: any;
5 bsRole: any;
6}
7
8export function prefix(props: { bsClass?: any }, variant?: string): string;
9export function bsClass(defaultClass: any, Component: any): any;
10export function bsStyles(styles: any, defaultStyle: any, Component: any): any;
11export function bsSizes(sizes: any, defaultSize: any, Component: any): any;
12export function getClassSet(props: any): any;
13export function getBsProps(props: any): BSProps;
14export function isBsProp(propName: string): boolean;
15export function splitBsProps(props: any): [BSProps, any];
16export function splitBsPropsAndOmit(props: any, omittedPropNames: any): [BSProps, any];
17export function addStyle(Component: any, ...styleVariant: any[]): any;
18// TODO: export function _curry