mirror of
https://github.com/hazemKrimi/crimson-quirks-ui.git
synced 2026-05-02 02:30:29 +00:00
18 lines
421 B
TypeScript
18 lines
421 B
TypeScript
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;
|