@workday/canvas-kit-preview-react
Version:
Canvas Kit Preview is made up of components that have the full design and a11y review, are part of the DS ecosystem and are approved for use in product. The API's could be subject to change, but not without strong communication and migration strategies.
23 lines • 740 B
TypeScript
import { SystemIconProps } from '@workday/canvas-kit-react/icon';
import { CanvasSystemIcon } from '@workday/design-assets-types';
export interface PillIconButtonProps extends Omit<SystemIconProps, 'icon'> {
/**
* The system icon rendered by the button
* @default `xSmallIcon`
*/
icon?: CanvasSystemIcon;
/**
* The aria label for the removable icon
* @default 'remove'
*/
'aria-label'?: string;
}
export declare const PillIconButton: import("@workday/canvas-kit-react/common").ElementComponentM<"button", PillIconButtonProps, {
state: {
id: string;
maxWidth: string | number;
disabled: boolean;
};
events: {};
}>;
//# sourceMappingURL=PillIconButton.d.ts.map