UNPKG
react-redux-express
Version:
latest (0.1.3)
0.1.3
0.1.2
0.1.1
0.1.0
0.0.4
0.0.3
0.0.2
0.0.1
React fullstack generator with express,redux, and some components.
react-redux-express
/
src
/
widgets
/
icon
/
index.jsx
8 lines
(6 loc)
•
199 B
JSX
View Raw
1
2
3
4
5
6
7
8
import
React
from
'react'
;
export
default
props => {
let
{
type
, className =
''
, ...other } = props; className +=
` anticon anticon-
${
type
}
`
;
return
<
i
className
=
{className}
{
...other
} />
; };