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

Commit 09d875b

Browse files
committed
chore: update type definitions
1 parent edfdcb5 commit 09d875b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/index.d.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,8 @@ declare module 'react-semantic-render/ShowIfElse' {
5151
interface IShowIfElse {
5252
/** Conditional statement. */
5353
condition: boolean;
54-
5554
/** Renders when condition is true. */
5655
if: TRender;
57-
5856
/** Renders when condition is false. */
5957
else: TRender;
6058
}
@@ -108,7 +106,7 @@ declare module 'react-semantic-render/Hideable' {
108106
}
109107

110108
/**
111-
* Higher order component that injects 'hideComponent' prop.
109+
* Higher order component that injects 'hideComponent' prop into specified component.
112110
*/
113111
const Hideable: <P extends object>(
114112
Component: React.ComponentType<P>,

0 commit comments

Comments
 (0)