mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
fix(code-snippet): forward feedback, feedbackTimeout to Copy
This commit is contained in:
parent
67878fc233
commit
f0ef921f7d
1 changed files with 2 additions and 0 deletions
|
@ -115,6 +115,8 @@
|
|||
<Copy
|
||||
aria-label={copyLabel}
|
||||
aria-describedby={id}
|
||||
{feedback}
|
||||
{feedbackTimeout}
|
||||
class="bx--snippet {type && `bx--snippet--${type}`}
|
||||
{type === 'inline' && 'bx--btn--copy'}
|
||||
{expanded && 'bx--snippet--expand'}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue