import Content from "@/components/Content/Content";
import {Table} from "@/components/Table/Table";
import Button from "@/components/Button/Button";
import {useModalContext} from "@/components/Modal/ModalContext";
import CarBrandModal from "@/modals/CarBrand";

export default function CarBrand() {
    const { setContentModal } = useModalContext();

    return (
        <Content>
            <Button onClickAction={() => setContentModal(<CarBrandModal />)}>Добавить элемент</Button>
            <Table header={['Код', 'Наименование', 'Страна', "Действия"]}>
            </Table>
        </Content>
    );
}
