fix incorrect types

pull/479/head
Cory LaViska 2021-06-28 09:26:55 -04:00
rodzic cc7ab8f7c4
commit 47c932bd46
2 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

@ -95,13 +95,13 @@ export default class SlDrawer extends LitElement {
* By default, the drawer slides out of its containing block (usually the viewport). To make the drawer slide out of
* its parent element, set this prop and add `position: relative` to the parent.
*/
@property({ type: Boolean, reflect: true }) contained: false = false;
@property({ type: Boolean, reflect: true }) contained: boolean = false;
/**
* Removes the header. This will also remove the default close button, so please ensure you provide an easy,
* accessible way for users to dismiss the drawer.
*/
@property({ attribute: 'no-header', type: Boolean, reflect: true }) noHeader: false = false;
@property({ attribute: 'no-header', type: Boolean, reflect: true }) noHeader: boolean = false;
connectedCallback() {
super.connectedCallback();

Wyświetl plik

@ -29,10 +29,10 @@ export default class SlTag extends LitElement {
@property({ reflect: true }) size: 'small' | 'medium' | 'large' = 'medium';
/** Draws a pill-style tag with rounded edges. */
@property({ type: Boolean, reflect: true }) pill: false = false;
@property({ type: Boolean, reflect: true }) pill: boolean = false;
/** Makes the tag clearable. */
@property({ type: Boolean }) clearable: false = false;
@property({ type: Boolean }) clearable: boolean = false;
handleClearClick() {
emit(this, 'sl-clear');