2016-05-28 20:15:12 +03:00
|
|
|
import { themr } from 'react-css-themr';
|
2017-01-26 20:05:32 +03:00
|
|
|
import { CARD } from '../identifiers';
|
|
|
|
import { Card } from './Card';
|
|
|
|
import { CardActions } from './CardActions';
|
|
|
|
import { CardMedia } from './CardMedia';
|
|
|
|
import { CardText } from './CardText';
|
|
|
|
import { cardTitleFactory } from './CardTitle';
|
|
|
|
import { Avatar } from '../avatar';
|
2017-01-05 04:42:18 +03:00
|
|
|
import theme from './theme.css';
|
2016-05-28 20:15:12 +03:00
|
|
|
|
|
|
|
const CardTitle = cardTitleFactory(Avatar);
|
|
|
|
const ThemedCard = themr(CARD, theme)(Card);
|
|
|
|
const ThemedCardActions = themr(CARD, theme)(CardActions);
|
|
|
|
const ThemedCardMedia = themr(CARD, theme)(CardMedia);
|
|
|
|
const ThemedCardText = themr(CARD, theme)(CardText);
|
|
|
|
const ThemedCardTitle = themr(CARD, theme)(CardTitle);
|
|
|
|
|
|
|
|
export default ThemedCard;
|
|
|
|
export { ThemedCard as Card };
|
|
|
|
export { ThemedCardActions as CardActions };
|
|
|
|
export { ThemedCardMedia as CardMedia };
|
|
|
|
export { ThemedCardText as CardText };
|
|
|
|
export { ThemedCardTitle as CardTitle };
|