File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
packages/@headlessui-react/src/components/switch Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -269,14 +269,15 @@ export interface _internal_ComponentSwitchLabel extends _internal_ComponentLabel
269
269
export interface _internal_ComponentSwitchDescription extends _internal_ComponentDescription { }
270
270
271
271
let SwitchRoot = forwardRefWithAs ( SwitchFn ) as _internal_ComponentSwitch
272
+ /** @deprecated use `<Field>` instead of `<SwitchGroup>` */
272
273
export let SwitchGroup = GroupFn as _internal_ComponentSwitchGroup
273
274
/** @deprecated use `<Label>` instead of `<SwitchLabel>` */
274
275
export let SwitchLabel = Label as _internal_ComponentSwitchLabel
275
276
/** @deprecated use `<Description>` instead of `<SwitchDescription>` */
276
277
export let SwitchDescription = Description as _internal_ComponentSwitchDescription
277
278
278
279
export let Switch = Object . assign ( SwitchRoot , {
279
- /** @deprecated use `<SwitchGroup >` instead of `<Switch.Group>` */
280
+ /** @deprecated use `<Field >` instead of `<Switch.Group>` */
280
281
Group : SwitchGroup ,
281
282
/** @deprecated use `<Label>` instead of `<Switch.Label>` */
282
283
Label : SwitchLabel ,
You can’t perform that action at this time.
0 commit comments