feat: pass onClick prop to FaBars

This commit is contained in:
karishmas6
2024-03-14 01:41:31 +05:30
parent f55e6ae8b7
commit bca03d8898

View File

@@ -32,7 +32,7 @@ const Topbar = () => {
</Menu> </Menu>
</Col> </Col>
<Col span={4} className="lg:hidden flex justify-end"> <Col span={4} className="lg:hidden flex justify-end">
<FaBars className="text-2xl text-gray-600" /> <FaBars className="text-2xl text-gray-600" onClick={showDrawer}/>
</Col> </Col>
<Drawer <Drawer
title="Navigation" title="Navigation"