@blueeast/bluerain-plugin-material-ui
Version:
Adds [Material UI](http://www.material-ui.com/#/) theme Provider to BlueRain. Components of material-ui have been developed using a common interface. [https://blueeast.gitbook.io/bluerain-plugin-material-ui](https://blueeast.gitbook.io/bluerain-plugin-mat
25 lines (24 loc) • 1.05 kB
TypeScript
import * as React from 'react';
import { CardHeaderProperties } from '@blueeast/bluerain-ui-interfaces';
/**
* The props of CardHeader Component
* @param {Object} props.style style object for Card's style.
* @param {Node} props.children Children of the CardHeader.
* @param {Node} props.title Title of the CardHeader.
* @param {string} props.className className for styling component with css.
*/
/**
* Platform specific props
* @param {Node} props.action The action to display in the card header.
* @param {Node} props.avatar The Avatar for the Card Header.
* @param {Object} props.classes Useful to extend the style applied to components.
* @param {Node} props.subheader The content of the component. Subheader overrides children
*/
export interface MUICardHeaderProperties extends CardHeaderProperties {
action?: React.ReactNode;
avatar?: React.ReactNode;
classes?: {};
subheader?: React.ReactNode;
}
declare const BlueRainCardHeader: React.StatelessComponent<MUICardHeaderProperties>;
export default BlueRainCardHeader;