hide option with hide property

This commit is contained in:
Abhinav 2022-08-02 13:37:34 +05:30
parent e894954239
commit 7a5d6b89c7

View file

@ -15,7 +15,8 @@ export const OptionWithInfo = (props) => (
</Option>
);
const LabelWithInfo = ({ data }: { data: SearchOption }) => (
const LabelWithInfo = ({ data }: { data: SearchOption }) =>
!data.hide && (
<>
<Box className="main" px={2} py={1}>
<Typography variant="caption" mb={1}>