Newer
Older
import { createGlobalStyle } from 'styled-components';
import Editoria from './Editoria/Editoria';
import 'wax-prosemirror-core/dist/index.css';
import 'wax-prosemirror-services/dist/index.css';
import 'wax-prosemirror-questions/dist/index.css';
import 'wax-prosemirror-table/dist/index.css';
const GlobalStyle = createGlobalStyle`
body {
margin: 0;
overflow-y: hidden;
padding: 0;
}
#root {
height:100vh;
width:100vw;
}
`;
display: flex;
flex-direction: row;
align-items: center;
span {
margin-right: 20px;
}
`;
const Projects = styled.div`
margin-left: 10px;
<ChooseProject>
<Projects>
<span>Select Project:</span>
<ProjectButton
isActive={project === 'hhmi'}
onClick={() => setProject('hhmi')}
>
Widget Example
</ProjectButton>
<ProjectButton
isActive={project === 'editoria'}
onClick={() => setProject('editoria')}
>
isActive={project === 'oen'}
onClick={() => setProject('oen')}
>
OEN
<ProjectButton
isActive={project === 'ncbi'}
onClick={() => setProject('ncbi')}
>