mirror of
https://github.com/hazemKrimi/crimson-quirks-ui.git
synced 2026-05-02 02:30:29 +00:00
Add sidebar component
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import { useReactiveVar } from '@apollo/client';
|
||||
import { roleVar } from '../../graphql/state';
|
||||
import { IconButton } from '..';
|
||||
import { Add } from '../../assets';
|
||||
import { Wrapper } from './styles';
|
||||
|
||||
const Sidebar = () => {
|
||||
const role = useReactiveVar(roleVar);
|
||||
|
||||
return (
|
||||
<Wrapper color={role}>
|
||||
<IconButton icon={<Add />} color={role} onClick={() => {}} />
|
||||
</Wrapper>
|
||||
);
|
||||
};
|
||||
|
||||
export default Sidebar;
|
||||
Reference in New Issue
Block a user