You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
779 B
React
26 lines
779 B
React
2 years ago
|
import { ComboBox } from './ComboBox.jsx'
|
||
|
import { Icon } from './Icon.jsx'
|
||
|
|
||
|
export const HamburgerMenu = ({ onClose }) => {
|
||
|
return (
|
||
|
<div class="menu">
|
||
|
<div class="header">
|
||
|
<button class="flat icon" onClick={onClose}>
|
||
|
<Icon name="close" />
|
||
|
</button>
|
||
|
<div class="item logo">PHC / Orari</div>
|
||
|
</div>
|
||
|
<div class="options">
|
||
|
<ComboBox
|
||
|
selected={1}
|
||
|
options={[
|
||
|
{ label: 'Prova 1', value: 1 },
|
||
|
{ label: 'Prova 2', value: 2 },
|
||
|
{ label: 'Prova 3', value: 3 },
|
||
|
]}
|
||
|
/>
|
||
|
</div>
|
||
|
</div>
|
||
|
)
|
||
|
}
|