UNPKG

@primer/react

Version:

An implementation of GitHub's Primer Design System using React

26 lines (20 loc) 718 B
'use strict'; var styled = require('styled-components'); var Box = require('../Box/Box.js'); function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; } var styled__default = /*#__PURE__*/_interopDefault(styled); /** * @deprecated Use the Box component instead (i.e. <BorderBox> → <Box borderWidth='1px' borderStyle='solid' borderColor='border.primary' borderRadius={2}>) */ const BorderBox = styled__default.default(Box).withConfig({ displayName: "BorderBox", componentId: "sc-129byhp-0" })([""]); BorderBox.defaultProps = { borderWidth: '1px', borderStyle: 'solid', borderColor: 'border.default', borderRadius: 2 }; var BorderBox$1 = BorderBox; module.exports = BorderBox$1;