mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
style(components): fix types and remove unused imports
This commit is contained in:
@ -1,5 +1,6 @@
|
|||||||
import { Component, h, Listen, Prop, PropDidChange } from '@stencil/core';
|
import { Component, h, Listen, Prop, PropDidChange } from '@stencil/core';
|
||||||
import { SegmentButtonEvent, VNodeData } from '../../utils/interfaces';
|
|
||||||
|
import { HostElement, SegmentButtonEvent, VNodeData } from '../../utils/interfaces';
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -70,7 +71,7 @@ import { SegmentButtonEvent, VNodeData } from '../../utils/interfaces';
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
export class Segment {
|
export class Segment {
|
||||||
buttons: any;
|
buttons: NodeListOf<HostElement>;
|
||||||
$el: HTMLElement;
|
$el: HTMLElement;
|
||||||
|
|
||||||
@Prop({ state: true }) disabled: boolean = false;
|
@Prop({ state: true }) disabled: boolean = false;
|
||||||
|
Reference in New Issue
Block a user