mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +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
|
<Copy
|
||||||
aria-label={copyLabel}
|
aria-label={copyLabel}
|
||||||
aria-describedby={id}
|
aria-describedby={id}
|
||||||
|
{feedback}
|
||||||
|
{feedbackTimeout}
|
||||||
class="bx--snippet {type && `bx--snippet--${type}`}
|
class="bx--snippet {type && `bx--snippet--${type}`}
|
||||||
{type === 'inline' && 'bx--btn--copy'}
|
{type === 'inline' && 'bx--btn--copy'}
|
||||||
{expanded && 'bx--snippet--expand'}
|
{expanded && 'bx--snippet--expand'}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue