Skip to content

Instantly share code, notes, and snippets.

View waelmas's full-sized avatar
👨‍💻
Building something cool

Wael Al Masri waelmas

👨‍💻
Building something cool
View GitHub Profile
@newswim
newswim / antd_sc_example.js
Created August 4, 2017 22:42
Wrapping Ant Design components with Styled Components
import { Link } from 'react-router-dom'
import { Badge, Col, Menu } from 'antd'
const StyledBadge = styled(Badge)`
.ant-badge-count {
background-color: #7ECBBF;
color: white;
box-shadow: 0 0 0 1px #d9d9d9 inset;
}
`