UNPKG

@storybook/design-system

Version:
19 lines 568 B
import React from 'react'; declare type Title = { title: string | React.ReactNode; tooltip: string; }; interface ButtonToggleProps { titles: Title[]; onSelectIndex: (index: number) => void; selectedIndex: number; appearance?: 'outline' | 'pill' | 'tab'; } export declare function ButtonToggle({ titles, onSelectIndex, selectedIndex, appearance, ...props }: ButtonToggleProps): JSX.Element; export declare namespace ButtonToggle { var defaultProps: { appearance: string; }; } export {}; //# sourceMappingURL=ButtonToggle.d.ts.map