UNPKG
fannypack-v5
Version:
latest (5.0.0-rc.7)
5.0.0-rc.7
5.0.0-rc.0
An accessible, composable, and friendly React UI Kit
github.com/fannypackui
fannypackui/fannypack
fannypack-v5
/
src
/
InlineFlex
/
styles.ts
11 lines
(8 loc)
•
222 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
import
{ cssClass }
from
'../styled'
;
import
{ theme }
from
'../utils'
;
export
const
InlineFlex
= (
styleProps
) => cssClass
` display: inline-flex; & {
${theme(styleProps.themeKey,
`css.root`
)(styleProps)}
; } `
;