import React, { useState } from 'react'; import PanelBox from '../../components/PanelBox'; import clsx from 'clsx'; import { useDispatch, useSelector } from 'react-redux'; import { Button, Grid, makeStyles } from '@material-ui/core' import Yb24h from './yb24h' const useStyles = makeStyles({ root: { color: '#fff', padding: '0.8rem 0', }, tool: { marginBottom: '1.2rem', }, buttons: { backgroundColor: 'red', flexShrink: 0, }, legend: { backgroundColor: 'green', }, checklabel: { justifyContent: 'flex-start', } }); export default function AreaDrp({ style }) { const classes = useStyles(); const [tab,setTab] = useState('1') return (
{ tab==='1'? :null }
) }