Remove default props usage
This commit is contained in:
@@ -34,7 +34,3 @@ export const OptionsPanel: React.FC<IProps> = ({ open, onClose, children, minHei
|
||||
<Box>{children}</Box>
|
||||
</Drawer>
|
||||
);
|
||||
|
||||
OptionsPanel.defaultProps = {
|
||||
minHeight: undefined,
|
||||
};
|
||||
|
||||
@@ -53,7 +53,3 @@ export const OptionsTabs = <T extends string = string>({
|
||||
</OptionsPanel>
|
||||
);
|
||||
};
|
||||
|
||||
OptionsTabs.defaultProps = {
|
||||
minHeight: undefined,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user