project init & fix ui
This commit is contained in:
50
miniprogram_npm/tdesign-miniprogram/radio/README.en-US.md
Normal file
50
miniprogram_npm/tdesign-miniprogram/radio/README.en-US.md
Normal file
@@ -0,0 +1,50 @@
|
||||
:: BASE_DOC ::
|
||||
|
||||
## API
|
||||
### Radio Props
|
||||
|
||||
name | type | default | description | required
|
||||
-- | -- | -- | -- | --
|
||||
align | String | left | options:left/right | N
|
||||
allow-uncheck | Boolean | false | \- | N
|
||||
block | Boolean | true | \- | N
|
||||
checked | Boolean | false | \- | N
|
||||
default-checked | Boolean | undefined | uncontrolled property | N
|
||||
content | String / Slot | - | \- | N
|
||||
content-disabled | Boolean | false | \- | N
|
||||
custom-style `v0.25.0` | String | - | \- | N
|
||||
disabled | Boolean | undefined | \- | N
|
||||
external-classes | Array | - | `['t-class', 't-class-icon', 't-class-label', 't-class-content', 't-class-border']` | N
|
||||
icon | String / Array | 'circle' | Typescript:`'circle' \| 'line' \| Array<string>` | N
|
||||
label | String / Slot | - | \- | N
|
||||
max-content-row | Number | 5 | \- | N
|
||||
max-label-row | Number | 3 | \- | N
|
||||
name | String | - | \- | N
|
||||
value | String / Number / Boolean | false | Typescript:`T` | N
|
||||
|
||||
### Radio Events
|
||||
|
||||
name | params | description
|
||||
-- | -- | --
|
||||
change | `(checked: boolean)` | \-
|
||||
|
||||
### RadioGroup Props
|
||||
|
||||
name | type | default | description | required
|
||||
-- | -- | -- | -- | --
|
||||
align | String | left | options:left/right | N
|
||||
borderless | Boolean | false | \- | N
|
||||
custom-style `v0.25.0` | String | - | \- | N
|
||||
disabled | Boolean | undefined | \- | N
|
||||
icon | String / Array | 'circle' | Typescript:`'circle' | 'line' | Array<string>` | N
|
||||
keys | Object | - | Typescript:`KeysType` | N
|
||||
name | String | - | \- | N
|
||||
options | Array | - | Typescript:`Array<RadioOption>` `type RadioOption = string \| number \| RadioOptionObj` `interface RadioOptionObj { label?: string; value?: string \| number; disabled?: boolean }`。[see more ts definition](https://github.com/Tencent/tdesign-miniprogram/tree/develop/src/radio-group/type.ts) | N
|
||||
value | String / Number / Boolean | - | Typescript:`T` | N
|
||||
default-value | String / Number / Boolean | undefined | uncontrolled property。Typescript:`T` | N
|
||||
|
||||
### RadioGroup Events
|
||||
|
||||
name | params | description
|
||||
-- | -- | --
|
||||
change | `(value: T)` | \-
|
||||
Reference in New Issue
Block a user