Skip to content

Commit

Permalink
bring back default props
Browse files Browse the repository at this point in the history
  • Loading branch information
JKobrynski committed Nov 14, 2023
1 parent 20e80d1 commit 434e472
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Modal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import CONST from '@src/CONST';
import BaseModal from './BaseModal';
import BaseModalProps from './types';

function Modal({fullscreen, onModalHide, type, onModalShow, children, ...rest}: BaseModalProps) {
function Modal({fullscreen = true, onModalHide = () => {}, type, onModalShow = () => {}, children, ...rest}: BaseModalProps) {
const [previousStatusBarColor, setPreviousStatusBarColor] = useState<string>();

const setStatusBarColor = (color = themeColors.appBG) => {
Expand Down

0 comments on commit 434e472

Please sign in to comment.