import { Divider } from "@material-ui/core"; import ControlledCheckbox from "@saleor/components/ControlledCheckbox"; import SingleSelectField, { Choice, } from "@saleor/components/SingleSelectField"; import { TaxConfigurationPerCountryFragment, TaxConfigurationUpdateInput, } from "@saleor/graphql"; import { FormChange } from "@saleor/hooks/useForm"; import { DeleteIcon, IconButton, ListItem, ListItemCell, } from "@saleor/macaw-ui"; import React from "react"; import { useStyles } from "../styles"; interface TaxCountryExceptionListItemProps { country: TaxConfigurationPerCountryFragment | undefined; onDelete: () => void; onChange: FormChange; divider: boolean; strategyChoices: Choice[]; } export const TaxCountryExceptionListItem: React.FC = ({ country, onDelete, onChange, strategyChoices, divider = true, }) => { const classes = useStyles(); return ( <> {country.country.country} {divider && } ); }; export default TaxCountryExceptionListItem;