UNPKG

@sb1/ffe-buttons-react

Version:
11 lines (10 loc) 623 B
import React, { ElementType } from 'react'; import { InlineBaseButtonProps } from './InlineBaseButton'; export type InlineExpandButtonProps<As extends ElementType = 'button'> = Omit<InlineBaseButtonProps<As>, 'buttonType' | 'rightIcon'> & { /** When true it will indicate the button is in its open state */ isExpanded: boolean; }; export declare const InlineExpandButton: <As extends ElementType>(props: Omit<InlineBaseButtonProps<As>, "buttonType" | "rightIcon"> & { /** When true it will indicate the button is in its open state */ isExpanded: boolean; } & React.RefAttributes<any>) => React.JSX.Element;