How to use the emotion/react.button function in emotion

To help you get started, we’ve selected a few emotion examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github MorpheoOrg / morpheo-analytics / src / client / js / business / ui / components / ActivityBar.js View on Github external
import actions from '../actions/sideBar';


const ButtonGroup = styled.div`
    display: flex;
    flex-direction: column;

    margin: 20px 0 20px 0;
    & button {
        margin: 5px;
        height: 42px;
        width: 42px;
    }
`;

const MenuButton = styled.button`
    border: none;
    background-color: inherit;
    color: #98999F;

    &:hover{
        color: #45464B;
    }

    .active{
        color: #45464B;
    }

    &:focus{
        outline: 0;
    }
`;