UNPKG

react-toolbox-build4server

Version:

Builds react-toolbox in such a way that it's components can be required and used in node - most likely for server-side rendered webapps - without having to depend on webpack to build your entire server-side project

24 lines (19 loc) 513 B
import React, { PropTypes, Component } from 'react'; import ClassNames from 'classnames'; import style from './style'; class CardActions extends Component { static propTypes = { children: PropTypes.any, className: PropTypes.string }; render () { const { children, className, ...other } = this.props; const classes = ClassNames(style.cardActions, className); return ( <div className={classes} {...other}> {children} </div> ); } } export default CardActions;