p5.js-web-editor/client/components/mobile/IconButton.jsx
2020-06-16 17:38:43 -03:00

17 lines
323 B
JavaScript

import React from 'react';
import styled from 'styled-components';
import { prop, remSize } from '../../theme';
const textColor = prop('primaryTextColor');
const IconButton = styled.button`
width: 3rem;
> svg {
width: 100%;
height: auto;
fill: ${textColor};
stroke: ${textColor};
}
`;
export default IconButton;