feat(PBI-49): add BEM sub-element data-debug-id to new-product-button
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
c01b1aeb83
commit
e8537cc3f1
1 changed files with 3 additions and 1 deletions
|
|
@ -12,7 +12,9 @@ export function NewProductButton() {
|
|||
|
||||
return (
|
||||
<>
|
||||
<Button onClick={() => setOpen(true)} {...debugProps('new-product-button', 'NewProductButton', 'components/dashboard/new-product-button.tsx')}>+ Nieuw product</Button>
|
||||
<div {...debugProps('new-product-button', 'NewProductButton', 'components/dashboard/new-product-button.tsx')}>
|
||||
<Button onClick={() => setOpen(true)} data-debug-id="new-product-button__trigger">+ Nieuw product</Button>
|
||||
</div>
|
||||
<ProductDialog
|
||||
mode="create"
|
||||
open={open}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue