1 | import getComponent from './utils/get-styled-component';
|
2 |
|
3 | export const DrugBox = getComponent({
|
4 | baseClasses: 'pv2 ph2 br2 ba b--light-gray bg-near-white',
|
5 | options: {
|
6 | highlight: ['highlighted']
|
7 | },
|
8 | fn: ({ highlighted }) => highlighted ? 'bg-lightest-blue' : 'bg-near-white'
|
9 | }); |
\ | No newline at end of file |