UNPKG

@primer/react

Version:

An implementation of GitHub's Primer Design System using React

13 lines (10 loc) 509 B
import styled from 'styled-components'; import sx from '../../sx.js'; /** * Provides an unstyled button that can be styled as-needed for components */ const Button = styled.button.withConfig({ displayName: "ButtonReset__Button", componentId: "sc-1yqlmwf-0" })(["padding:0;border:0;margin:0;display:inline-flex;padding:0;border:0;appearance:none;background:none;cursor:pointer;text-align:start;font:inherit;color:inherit;align-items:center;&::-moz-focus-inner{border:0;}", ""], sx); export { Button };