p5.js-web-editor/client/components/mobile/IconButton.jsx

18 lines
323 B
React
Raw Normal View History

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;