@wonderflow/react-components
Version:
UI components from Wonderflow's Wanda design system
12 lines • 615 B
TypeScript
import { Except } from 'type-fest';
import { Button, Polymorphic, PopoverProps } from '../..';
export declare type SplitButtonProps = Pick<PopoverProps, 'placement' | 'offset'> & {
/**
* Set the label of the action associated to the dropdown.
*/
label: string;
};
declare type PolymorphicSplitButton = Polymorphic.ForwardRefComponent<Polymorphic.IntrinsicElement<typeof Button>, Except<Polymorphic.OwnProps<typeof Button>, 'iconPosition' | 'iconColor' | 'pressed'> & SplitButtonProps>;
export declare const SplitButton: PolymorphicSplitButton;
export {};
//# sourceMappingURL=split-button.d.ts.map