feat(components): Add reusable message input component, refactor element properties to use accessor, update styles and docs, bump dependencies
This commit is contained in:
@@ -29,16 +29,16 @@ export class SioIcon extends DeesElement {
|
||||
`;
|
||||
|
||||
@property({ type: String })
|
||||
public icon: string;
|
||||
public accessor icon: string;
|
||||
|
||||
@property({ type: Number })
|
||||
public size: number = 24;
|
||||
public accessor size: number = 24;
|
||||
|
||||
@property({ type: String })
|
||||
public color: string = 'currentColor';
|
||||
public accessor color: string = 'currentColor';
|
||||
|
||||
@property({ type: Number })
|
||||
public strokeWidth: number = 2;
|
||||
public accessor strokeWidth: number = 2;
|
||||
|
||||
// Cache for rendered icons
|
||||
private static iconCache = new Map<string, string>();
|
||||
|
||||
Reference in New Issue
Block a user