diff --git a/docs/__tests__/__snapshots__/props-table.test.ts.snap b/docs/__tests__/__snapshots__/props-table.test.ts.snap index 8247d97db55..1b4622299bf 100644 --- a/docs/__tests__/__snapshots__/props-table.test.ts.snap +++ b/docs/__tests__/__snapshots__/props-table.test.ts.snap @@ -3372,7 +3372,7 @@ exports[`Props Table 1`] = ` }, \\"variation\\": { \\"name\\": \\"variation\\", - \\"type\\": \\"'outlined' | 'plain'\\", + \\"type\\": \\"\\\\\\"outlined\\\\\\" | \\\\\\"plain\\\\\\" | undefined\\", \\"description\\": \\"Adds plain or outlined variation to the Fieldset\\", \\"category\\": \\"BaseFieldsetProps\\", \\"isOptional\\": true diff --git a/packages/react/src/primitives/types/fieldset.ts b/packages/react/src/primitives/types/fieldset.ts index ed779162599..11b5f4ac04e 100644 --- a/packages/react/src/primitives/types/fieldset.ts +++ b/packages/react/src/primitives/types/fieldset.ts @@ -5,8 +5,6 @@ import { BaseViewProps } from './view'; import { FlexContainerStyleProps } from './flex'; import { ElementType, PrimitiveProps } from './view'; -export type FieldsetVariation = 'outlined' | 'plain'; - /** @deprecated For internal use only */ export interface BaseFieldsetProps extends BaseViewProps, @@ -27,7 +25,7 @@ export interface BaseFieldsetProps * @description * Adds plain or outlined variation to the Fieldset */ - variation?: FieldsetVariation; + variation?: 'outlined' | 'plain'; /** * @description