svelte-code-copy
v1.0.38
Published
❏ Just wrap it with this
Downloads
21,223
Maintainers
Readme
</code>
Props
| Prop | Type | Default |
| ------------ | ---------- | ------------- |
| onCopy | function
| undefined
|
| size | number
| 18 |
| background | string
| transparent
|
| color | string
| whitesmoke
|
| success | string
| green
|
| error | string
| red
|
| top | string
| 0.5rem |
| right | string
| 0.5rem |
| border | string
| none
|
| padding | string
| 0.25rem |
| borderRadius | string
| 0.25rem |
| margin | string
| 0 |
| effect | string
| pop
|
| duration | number
| 150 |