diff --git a/packages/components/src/components/button/button.lite.tsx b/packages/components/src/components/button/button.lite.tsx index 4196761439f0..ddfa0695c1ab 100644 --- a/packages/components/src/components/button/button.lite.tsx +++ b/packages/components/src/components/button/button.lite.tsx @@ -38,6 +38,8 @@ export default function DBButton(props: DBButtonProps) { value={props.value} aria-describedby={props.describedbyid} aria-expanded={props.ariaexpanded} + commandfor={props.commandfor} + command={props.command} aria-pressed={props.ariapressed}> {props.text} diff --git a/packages/components/src/components/button/model.ts b/packages/components/src/components/button/model.ts index 371c1fd1a82e..03a770fc5c59 100644 --- a/packages/components/src/components/button/model.ts +++ b/packages/components/src/components/button/model.ts @@ -79,6 +79,16 @@ export type DBButtonDefaultProps = { * Variant of the button. Use only 1 primary button on a page as CTA otherwise use one of the adaptive buttons. */ variant?: ButtonVariantType | string; + + /** + * Either standardized or custom actions to be performed on an element that is being controlled by a control