@sb1/ffe-buttons-react
Version:
React implementation of ffe-buttons
11 lines (10 loc) • 623 B
TypeScript
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;