You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
1.1 KiB
30 lines
1.1 KiB
|
|
import Grid from '@mui/material/Grid';
|
|
import { Button, Box, Switch } from '../../components/UI';
|
|
import React, { useState } from 'react'
|
|
|
|
interface Props {
|
|
children?: React.ReactNode;
|
|
onClick: () => void;
|
|
disable: boolean;
|
|
}
|
|
|
|
export const Category: React.FC<Props> = ({children, onClick, disable}) => {
|
|
|
|
return(
|
|
<>
|
|
<div className='boxButton'>
|
|
<p>Выберите наминацию ? </p>
|
|
<Button onClick={()=> fnStart()} disable={false}>Стол: А - Младшая</Button>
|
|
<Button onClick={()=> fnStart()} disable={false}>Стол: А - Средняя</Button>
|
|
<Button onClick={()=> fnStart()} disable={false}>Стол: А - Старшая</Button>
|
|
</div>
|
|
<div className='boxButton'>
|
|
<p>Выберите стол ? </p>
|
|
<Button onClick={()=> fnStart()} disable={false}>Стол: Б - Младшая</Button>
|
|
<Button onClick={()=> fnStart()} disable={false}>Стол: Б - Средняя</Button>
|
|
<Button onClick={()=> fnStart()} disable={false}>Стол: Б - Старшая</Button>
|
|
</div>
|
|
</>
|
|
)
|
|
} |