Skip to content

Commit 6ea7865

Browse files
committed
docs: clean up readme
1 parent 3b36a1a commit 6ea7865

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

README.md

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -137,33 +137,12 @@ type ControlListRef<TValue> = {
137137
{ value: 'night', label: '🌙' },
138138
]}
139139
onChangeOption={onChangeOption}
140-
optionGap={10}
141140
/>
142141
```
143142

144143
### Alignment Examples
145144

146145
```tsx
147-
// Left alignment
148-
<MultiswitchController<'First' | 'Second'>
149-
options={[
150-
{ value: 'First', label: 'First' },
151-
{ value: 'Second', label: 'Second' },
152-
]}
153-
defaultOption="First"
154-
align="left"
155-
/>
156-
157-
// Center alignment
158-
<MultiswitchController<'First' | 'Second'>
159-
options={[
160-
{ value: 'First', label: 'First' },
161-
{ value: 'Second', label: 'Second' },
162-
]}
163-
defaultOption="First"
164-
align="center"
165-
/>
166-
167146
// Right alignment
168147
<MultiswitchController<'First' | 'Second' | 'Third'>
169148
options={[
@@ -236,7 +215,6 @@ function MyComponent() {
236215
{ value: 'Sixteenth', label: 'Sixteenth' },
237216
]}
238217
defaultOption="First"
239-
variant={variant}
240218
/>
241219
```
242220

@@ -248,7 +226,6 @@ function MyComponent() {
248226
{ value: 'First', label: 'First is a very long label' },
249227
{ value: 'Second', label: 'Second is short' },
250228
]}
251-
variant={variant}
252229
defaultOption="First"
253230
/>
254231
```

0 commit comments

Comments
 (0)