norma-library
Version:
Olos/Norma-DS. Design System based on Material UI, developed with TypeScript and Styled Components to create reusable and consistent components in web applications.
11 lines • 376 B
JavaScript
import React from 'react';
import CardHeader from './CardHeader';
import { StyledCard } from './styles';
var Card = function (_a) {
var children = _a.children, title = _a.title;
return (React.createElement(StyledCard, null,
title && React.createElement(CardHeader, { title: title }),
children));
};
export default Card;
//# sourceMappingURL=Card.js.map