3 ms·
Does this work with arbitrary depth? Can I do `````ts const Accordian = styled.details<{ isAprilFirst: boolean; }>` ````css accent: rebeccapurple;
by culi 10mo ago
Does this work with arbitrary depth? Can I do
`````ts
const Accordian = styled.details<{ isAprilFirst: boolean; }>`
````css
accent: rebeccapurple;
font-family: ${
```js
props => props.isAprilFirst ? 'Comic Sans' : 'Time New Roman'
```
};
````
`;
`````
- hun3 10mo agoSure, as long as you don't run out of `s