File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
packages/uui-button-copy-text Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 1- # uui-text -copy
1+ # uui-button -copy-text
22
3- ![ npm] ( https://img.shields.io/npm/v/@umbraco-ui/uui-text -copy?logoColor=%231B264F )
3+ ![ npm] ( https://img.shields.io/npm/v/@umbraco-ui/uui-button -copy-text ?logoColor=%231B264F )
44
55Umbraco style text-copy component.
66
@@ -9,23 +9,23 @@ Umbraco style text-copy component.
99### ES imports
1010
1111``` zsh
12- npm i @umbraco-ui/uui-text -copy
12+ npm i @umbraco-ui/uui-button -copy-text
1313```
1414
15- Import the registration of ` <uui-text -copy> ` via:
15+ Import the registration of ` <uui-button -copy-text > ` via:
1616
1717``` javascript
18- import ' @umbraco-ui/uui-text -copy' ;
18+ import ' @umbraco-ui/uui-button -copy-text ' ;
1919```
2020
21- When looking to leverage the ` UUITextCopyElement ` base class as a type and/or for extension purposes, do so via:
21+ When looking to leverage the ` UUIButtonCopyTextElement ` base class as a type and/or for extension purposes, do so via:
2222
2323``` javascript
24- import { UUITextCopyElement } from ' @umbraco-ui/uui-text -copy' ;
24+ import { UUIButtonCopyTextElement } from ' @umbraco-ui/uui-button -copy-text ' ;
2525```
2626
2727## Usage
2828
2929``` html
30- <uui-text -copy ></uui-text -copy >
30+ <uui-button -copy-text ></uui-button -copy-text >
3131```
You can’t perform that action at this time.
0 commit comments