Drawer#

This component is a custom drawer. See demo for a live preview.

Can't be used outside <DrawerTemplate>.

Example#

import React from 'react';
import logo from './logo.svg';
import {
DrawerTemplate,
DrawerContainer,
MainContainer,
Drawer
} from 'la-danze-ui';
function App() {
return (
<DrawerTemplate>
<DrawerContainer>
<Drawer logo={logo} title="Drawer">
...
</Drawer>
</DrawerContainer>
<MainContainer>
...
</MainContainer>
</DrawerTemplate>
);
}

Props#

NameTypeDefaultRequiredDescription
logostringYesThe logo to use.
titlestringYesThe title to use.