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 TransmissionModal from "@/modals/Transmission";

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

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