created:3/5/2021
updated:3/5/2021
loc
64
comments
23%
passed
2
coverage
11%
CopyContainer
Container component to enclose items that will provide copy functionality on click.
Name | Description | Default |
|---|---|---|
| name | name of the property string | - |
| value | value to copy string | - |
| maxLength | maximum length of string to be displayed in copied tooltip number | 50 |
| options | copy-to-clipboard options Options | - |
5 commits
package | imports | peer |
|---|---|---|
@primer/octicons-react ^10.0.0 | CheckIcon | |
copy-to-clipboard ^3.2.1 | copy | |
react ^17.0.1 | useStateFC | * |
theme-ui ^0.8.4 | jsxBox |
file | imports |
|---|---|
| "../Popover" |
<Popover
sxtriggertooltipShownarrowVisibleonVisibilityChangetooltip
>Popover
from"../Popover"