diff --git a/modules/labs-react/button/lib/DeleteButton.tsx b/modules/labs-react/button/lib/DeleteButton.tsx index 3377e76092..7672a37784 100644 --- a/modules/labs-react/button/lib/DeleteButton.tsx +++ b/modules/labs-react/button/lib/DeleteButton.tsx @@ -10,7 +10,11 @@ export type DeleteButtonVariant = 'primary' | 'inverse'; * 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 Omit {} +export interface DeleteButtonProps + extends Omit< + BaseButtonContainerProps, + 'ref' | 'icon' | 'iconPosition' | 'shouldMirrorIcon' | 'fillIcon' + > {} const deleteStyles = cs({ [buttonVars.default.background]: cssVar(newTheme.colors.error.main), diff --git a/yarn.lock b/yarn.lock index 8198d01098..2623173de3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5040,6 +5040,11 @@ dependencies: "@workday/design-assets-types" "0.2.8" +"@workday/canvas-tokens-web@0.1.1": + version "0.1.1" + resolved "https://registry.yarnpkg.com/@workday/canvas-tokens-web/-/canvas-tokens-web-0.1.1.tgz#284438b64054c9e8c1e365e43831516778c47fff" + integrity sha512-O0LyNhI5c+Slv2tr7CuhgqirdCocLHHLQH7seWs9MO0EZlIY7KyUbq1VnLvtTDv6S3FgqSKSNiVwSVNbPgmatg== + "@workday/design-assets-types@0.2.8", "@workday/design-assets-types@^0.2.8": version "0.2.8" resolved "https://registry.yarnpkg.com/@workday/design-assets-types/-/design-assets-types-0.2.8.tgz#54026b4e6ea79861b12837a7deb83db9a16caad4"