Skip to content

Galaxy UI / buttonProps

变量: buttonProps

const buttonProps: object

定义于: components/g-button/g-button.ts:12

类型声明

as

readonly as: object

as.default

readonly default: "button" = 'button'

as.type

readonly type: PropType<string | Component>

disabled

readonly disabled: BooleanConstructor = Boolean

loading

readonly loading: BooleanConstructor = Boolean

nativeType

readonly nativeType: object

nativeType.default

readonly default: "button" = 'button'

nativeType.type

readonly type: StringConstructor = String

nativeType.values

readonly values: ButtonNativeType[] = BUTTON_NATIVE_TYPES

shape

readonly shape: object

shape.default

readonly default: "" = ''

shape.type

readonly type: PropType<string & object | "circle" | "round">

shape.values

readonly values: readonly ["circle", "round", ""]

size

readonly size: object

size.default

readonly default: "" = ''

size.type

readonly type: PropType<ComponentSize>

size.values

readonly values: ComponentSize[] = COMPONENT_SIZE

type

readonly type: object

type.default

readonly default: "default" = 'default'

type.type

readonly type: StringConstructor = String

type.values

readonly values: ButtonType[] = BUTTON_TYPES

variant

readonly variant: object

variant.default

readonly default: "" = ''

variant.type

readonly type: PropType<ButtonVariantType>

variant.values

readonly values: ButtonVariantType[] = BUTTON_VARIANT_TYPES