fix(chip): conforms to ion-icon

fixes #15053
This commit is contained in:
Manu Mtz.-Almeida
2018-08-07 02:21:28 +02:00
parent 8b35e37a43
commit f49fa4a815
5 changed files with 36 additions and 21 deletions

View File

@ -468,7 +468,7 @@ declare global {
/**
* Set to `"clear"` for a transparent button style.
*/
'fill': string;
'fill': 'clear' | 'solid';
/**
* Contains a URL or a URL fragment that the hyperlink points to. If this property is set, an anchor tag will be rendered.
*/
@ -492,6 +492,10 @@ declare global {
* The icon to use. Possible values are the same as `"ion-icon"`.
*/
'name': string;
/**
* The icon src to use. Possible values are the same as `"ion-icon"`.
*/
'src': string;
}
interface IonChip {
@ -4058,7 +4062,7 @@ declare global {
/**
* Set to `"clear"` for a transparent button style.
*/
'fill'?: string;
'fill'?: 'clear' | 'solid';
/**
* Contains a URL or a URL fragment that the hyperlink points to. If this property is set, an anchor tag will be rendered.
*/
@ -4082,6 +4086,10 @@ declare global {
* The icon to use. Possible values are the same as `"ion-icon"`.
*/
'name'?: string;
/**
* The icon src to use. Possible values are the same as `"ion-icon"`.
*/
'src'?: string;
}
export interface IonChipAttributes extends HTMLAttributes {