mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 05:58:26 +08:00
feat(button) combine boolean fill/size/expand props to string (#13348)
* chore(utils) extend getElementClassObject to accept string array * feat(button) combine boolean fill/size/span props to string * feat(button) rename span prop to expand * docs(button) remove default from listed size options * docs(button) clarify default button fill styles
This commit is contained in:
11
packages/core/src/components.d.ts
vendored
11
packages/core/src/components.d.ts
vendored
@ -362,16 +362,11 @@ declare global {
|
||||
itemButton?: boolean,
|
||||
href?: string,
|
||||
buttonType?: string,
|
||||
large?: boolean,
|
||||
small?: boolean,
|
||||
default?: boolean,
|
||||
size?: 'small' | 'large',
|
||||
disabled?: boolean,
|
||||
outline?: boolean,
|
||||
clear?: boolean,
|
||||
solid?: boolean,
|
||||
fill?: 'clear' | 'outline' | 'solid' | 'default',
|
||||
round?: boolean,
|
||||
block?: boolean,
|
||||
full?: boolean,
|
||||
expand?: 'full' | 'block',
|
||||
strong?: boolean,
|
||||
color?: string,
|
||||
mode?: 'ios' | 'md'
|
||||
|
Reference in New Issue
Block a user