UNPKG

@workday/canvas-kit-react

Version:

The parent module that contains all Workday Canvas Kit React components

26 lines 1.23 kB
import { ButtonSizes } from '../types'; import { SystemIconProps } from '@workday/canvas-kit-react/icon'; export interface ButtonLabelIconProps extends Partial<SystemIconProps> { /** * There are four button sizes: `extraSmall`, `small`, `medium`, and `large`. * * @default 'medium' */ size?: ButtonSizes; /** * If set to `true`, transform the icon's x-axis to mirror the graphic. Use this if you want to * always mirror the icon regardless of the content direction. If the icon should mirror only when * in an right-to-left language, use `shouldMirrorIconInRTL` instead. * @default false */ shouldMirrorIcon?: boolean; /** * If set to `true`, transform the icon's x-axis to mirror the graphic when the content direction * is `rtl`. Icons don't have enough context to know if they should be mirrored in all cases. * Setting this to `true` indicates the icon should be mirrored in right-to-left languages. * @default false */ shouldMirrorIconInRTL?: boolean; } export declare const ButtonLabelIcon: import("@workday/canvas-kit-react/common").ElementComponent<"span", ButtonLabelIconProps>; //# sourceMappingURL=ButtonLabelIcon.d.ts.map