hide option with hide property
This commit is contained in:
parent
e894954239
commit
7a5d6b89c7
|
@ -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}>
|
||||
|
|
Loading…
Reference in a new issue