frc-ui
Version:
React Web UI
16 lines (15 loc) • 413 B
TypeScript
import { CSSProperties } from 'react';
declare const defaultProps: {
expanded: boolean;
hidden: boolean;
};
export interface SwitcherProps {
expanded: boolean;
onChange?: Function;
hidden?: boolean;
style?: CSSProperties;
icon?: Element;
}
declare type DefaultProps = Partial<typeof defaultProps>;
export default function (props: SwitcherProps & DefaultProps): JSX.Element;
export {};