diff --git a/lib/index.d.ts b/lib/index.d.ts index 31fbfb74..11764fd7 100644 --- a/lib/index.d.ts +++ b/lib/index.d.ts @@ -58,22 +58,18 @@ declare module 'react-semantic-render/Switch' { value: any; } - /** - * Helper component that is accessed from `Switch` component. - */ - const SwitchCase: (props: ISwitchCaseProps) => TOutput; - - /** - * Helper component that is accessed from `Switch` component. - */ - const SwitchDefault: (props: IRenderProps) => TOutput; - /** * Renders content from first `Switch.Case` that matches `value`, else `Switch.Default` if it exists. */ const Switch: { (props: ISwitchProps): TOutput; + /** + * Helper component that is accessed from `Switch` component. + */ Case: (props: ISwitchCaseProps) => TOutput; + /** + * Helper component that is accessed from `Switch` component. + */ Default: (props: IRenderProps) => TOutput; };