Skip to content

Commit 1ac3137

Browse files
committed
Revise
1 parent 25dc190 commit 1ac3137

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

components/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -780,7 +780,7 @@ choose({...props}) => Promise<string | undefined>
780780

781781
#### Examples
782782

783-
Preview with [CodeSandbox](https://codesandbox.io/p/sandbox/github/vanjs-org/van/tree/main/components/examples/choose?file=%2Fsrc%2Fmain.ts%3A1%2C1)
783+
Preview with [CodeSandbox](https://codesandbox.io/p/sandbox/github/vanjs-org/van/tree/main/components/examples/choose?file=%2Fsrc%2Fmain.ts%3A1%2C1).
784784

785785
Example 1:
786786

@@ -814,15 +814,15 @@ selected && van.add(document.body, div("You chose: ", b(selected)))
814814
#### Property Reference
815815

816816
* `label`: Type `string`. Required. The label you want to show.
817-
* `options`: Type `string[]`. Required. The option of the choice.
817+
* `options`: Type `string[]`. Required. The options of the choice.
818818
* `selectedColor`: Type `string`. Default `#f5f5f5`. Optional. The background color of the currently selected option.
819-
* `customModalProps`: Type property bags for the [Modal](#modal) component (except the `closed` field). Default `{}`. Optional. The custom properties for the `Modal` component you want to specify.
819+
* `customModalProps`: Type: property bags for the [Modal](#modal) component (except the `closed` field). Default `{}`. Optional. The custom properties for the `Modal` component you want to specify.
820820
* `textFilterClass`: Type `string`. Default `""`. Optional. The `class` attribute of the text filter. You can specify multiple CSS classes separated by `" "`.
821821
* `textFilterStyleOverrides`: Type `Record<string, string | number>`. Default `{}`. Optional. A [property bag](#property-bag-for-style-overrides) for the styles you want to override for the text filter.
822822
* `optionsContainerClass`: Type `string`. Default `""`. Optional. The `class` attribute of the container of all options. You can specify multiple CSS classes separated by `" "`.
823823
* `optionsContainerStyleOverrides`: Type `Record<string, string | number>`. Default `{}`. Optional. A [property bag](#property-bag-for-style-overrides) for the styles you want to override for the container of all options.
824824
* `optionClass`: Type `string`. Default `""`. Optional. The `class` attribute of an individual option. You can specify multiple CSS classes separated by `" "`.
825-
* `optionStyleOverrides`: Type `Record<string, string | number>`. Default `{}`. Optional. A [property bag](#property-bag-for-style-overrides) for the styles you want to override for an individual option
825+
* `optionStyleOverrides`: Type `Record<string, string | number>`. Default `{}`. Optional. A [property bag](#property-bag-for-style-overrides) for the styles you want to override for an individual option.
826826
* `selectedClass`: Type `string`. Default `""`. Optional. The `class` attribute of the selected option. You can specify multiple CSS classes separated by `" "`.
827827
* `selectedStyleOverrides`: Type `Record<string, string | number>`. Default `{}`. Optional. A [property bag](#property-bag-for-style-overrides) for the styles you want to override for the selected option.
828828

0 commit comments

Comments
 (0)