Skip to content

Commit 31614d3

Browse files
committed
docs: update README
1 parent fbf5f8b commit 31614d3

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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

55
Umbraco 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
```

0 commit comments

Comments
 (0)