Skip to content

Commit 474a352

Browse files
committed
Remove the reflect on the props as PR suggestion
1 parent 0901ebe commit 474a352

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/uui-copy/lib/uui-copy.element.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export class UUICopyElement extends LitElement {
4242
* @default ''
4343
* @example copy-from="element-id"
4444
*/
45-
@property({ type: String, reflect: true, attribute: 'copy-from' })
45+
@property({ type: String, attribute: 'copy-from' })
4646
copyFrom = '';
4747

4848
/**
@@ -51,7 +51,7 @@ export class UUICopyElement extends LitElement {
5151
* @attr
5252
* @default "default"
5353
*/
54-
@property({ reflect: true })
54+
@property()
5555
look: 'default' | 'primary' | 'secondary' | 'outline' | 'placeholder' =
5656
'default';
5757

@@ -61,7 +61,7 @@ export class UUICopyElement extends LitElement {
6161
* @attr
6262
* @default "default"
6363
*/
64-
@property({ reflect: true })
64+
@property()
6565
color: 'default' | 'positive' | 'warning' | 'danger' = 'default';
6666

6767
/**
@@ -70,7 +70,7 @@ export class UUICopyElement extends LitElement {
7070
* @attr
7171
* @default false
7272
*/
73-
@property({ type: Boolean, reflect: true })
73+
@property({ type: Boolean })
7474
compact = false;
7575

7676
// Used to store the value that will be copied to the clipboard

0 commit comments

Comments
 (0)