Remove unused
This commit is contained in:
@@ -1,12 +0,0 @@
|
||||
import { Box, Divider, Typography } from "@mui/material";
|
||||
|
||||
export function LabelWithDivider({ data }) {
|
||||
return (
|
||||
<>
|
||||
<Box className="main" px={3} py={1}>
|
||||
<Typography>{data.label}</Typography>
|
||||
</Box>
|
||||
<Divider sx={{ borderColor: "stroke.fainter" }} />
|
||||
</>
|
||||
);
|
||||
}
|
||||
@@ -1,10 +0,0 @@
|
||||
import { components } from "react-select";
|
||||
import { LabelWithDivider } from "./LabelWithDivider";
|
||||
|
||||
const { Option } = components;
|
||||
|
||||
export const OptionWithDivider = (props) => (
|
||||
<Option {...props}>
|
||||
<LabelWithDivider data={props.data} />
|
||||
</Option>
|
||||
);
|
||||
Reference in New Issue
Block a user