UNPKG

@primer/components

Version:
9 lines 584 B
import styled from 'styled-components'; import { get } from '../constants'; import sx from '../sx'; import ButtonBase, { buttonSystemProps } from './ButtonBase'; const ButtonInvisible = styled(ButtonBase).withConfig({ displayName: "ButtonInvisible", componentId: "sc-1195tpn-0" })(["color:", ";background-color:transparent;border:0;border-radius:", ";box-shadow:none;&:disabled{color:", ";}&:focus{box-shadow:", ";}", ";", ""], get('colors.accent.fg'), get('radii.2'), get('colors.fg.muted'), get('shadows.btn.focusShadow'), buttonSystemProps, sx); export default ButtonInvisible;