UNPKG
substyle
Version:
latest (9.4.1)
9.4.1
9.4.0
9.3.0
9.2.0
9.1.0
9.0.0
8.0.0
7.1.3
7.1.2
7.1.1
7.1.0
7.0.0
6.3.1
6.3.0
6.2.1
6.2.0
6.1.4
6.1.3
6.1.2
6.1.1
6.1.0
6.0.0
5.1.2
5.1.1
5.1.0
5.0.0
4.1.1
4.1.0
4.0.2
4.0.1
4.0.0
3.0.3
3.0.2
3.0.1
3.0.0
2.2.0
2.1.0
2.0.2
2.0.1
2.0.0
1.2.1
1.2.0
1.1.2
1.1.1
1.1.0
1.0.2
1.0.1
1.0.0
Universal styling for reusable React components
github.com/jfschwarz/substyle
jfschwarz/substyle
substyle
/
es6
/
filterKeys.js.flow
5 lines
(3 loc)
•
127 B
Flow
View Raw
1
2
3
4
5
// @flow
export
const
isModifier
= (
key
:
string
) => key[
0
] ===
'&'
export
const
isElement
= (
key
:
string
) => !
isModifier
(key)