Skip to content

Commit

Permalink
Minor consistency edit
Browse files Browse the repository at this point in the history
  • Loading branch information
brickpop committed Feb 28, 2024
1 parent 0b92157 commit 346e4a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.10.0",
"version": "0.10.1",
"license": "MIT",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export const If = (props: IfProps) => {
* @param props {children}
* @returns
*/
export const Then = ({ children }: { children: ReactNode }) => {
export const Then = ({ children }: { children?: ReactNode }) => {
return children;
};

Expand Down Expand Up @@ -171,7 +171,7 @@ export const ElseIf = ({ children }: IfProps) => {
* @param props {children}
* @returns
*/
export const Else = ({ children }: { children: ReactNode }) => {
export const Else = ({ children }: { children?: ReactNode }) => {
return children;
};

Expand Down

0 comments on commit 346e4a6

Please sign in to comment.