Skip to content

Commit

Permalink
fix(modal): fix provider props
Browse files Browse the repository at this point in the history
  • Loading branch information
tanmen committed Oct 21, 2023
1 parent 76e62ad commit 0b7b740
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ export * from './hooks';
export * from './images';
export * from './inputs';
export * from './loadings';
export * from './modals';
export * from './providers';
export * from './styles';
export * from './tables';
Expand Down
2 changes: 1 addition & 1 deletion src/providers/ModalProvider/ModalProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const ModalContext = createContext({
});

export type ModalProviderProps = {
modal: FC<ModalProps>
modal?: FC<ModalProps>
children: ReactNode
}

Expand Down
1 change: 1 addition & 0 deletions src/providers/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export * from './ModalProvider';
export * from './ThemeProvider';

0 comments on commit 0b7b740

Please sign in to comment.