@workday/canvas-kit-react
Version:
The parent module that contains all Workday Canvas Kit React components
15 lines • 806 B
TypeScript
import { ButtonProps } from './Button';
/**
* Extends all the style properties from Box to our buttons as well as props from ButtonProps.
* 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 DeleteButtonProps extends ButtonProps {
}
/**
* Use sparingly for destructive actions that will result in data loss, can’t be undone, or will
* have significant consequences. They commonly appear in confirmation dialogs as the final
* confirmation before being deleted.
*/
export declare const DeleteButton: import("@workday/canvas-kit-react/common").ElementComponent<"button", DeleteButtonProps>;
//# sourceMappingURL=DeleteButton.d.ts.map