UNPKG

@workday/canvas-kit-react

Version:

The parent module that contains all Workday Canvas Kit React components

17 lines 789 B
import { ButtonContainerProps } from './BaseButton'; /** * Extends all the style properties from Box to our buttons as well as props from ButtonContainerProps. * We omit `ref` since all of our buttons use `createComponent` and already give access to `ref`. * Use this type to extend and customize any one off buttons that you want full control over styling. */ export interface ButtonProps extends Omit<ButtonContainerProps, 'ref'> { /** * Button icon positions can either be `start` or `end`. * If no value is provided, it defaults to `start`. * * @default 'start' */ iconPosition?: 'start' | 'end'; } export declare const Button: import("@workday/canvas-kit-react/common").ElementComponent<"button", ButtonProps>; //# sourceMappingURL=Button.d.ts.map