Skip to content
This repository has been archived by the owner on Jun 2, 2024. It is now read-only.

Commit

Permalink
fix(typings): remove unused typings
Browse files Browse the repository at this point in the history
  • Loading branch information
csvenke committed Apr 7, 2020
1 parent b1f4fd4 commit e2682f3
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions lib/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};

Expand Down

0 comments on commit e2682f3

Please sign in to comment.