UNPKG

@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

22 lines (21 loc) 904 B
import React from 'react'; import { CardProperties } from '@blueeast/bluerain-ui-interfaces'; /** * The props of Card Component * @param {Node} props.children Children to be passed for card component. * @param {Object} props.style style object for Card's style. * @param {boolean} props.raised If true, card is generated with raised styling. * @param {string or function} props.tag tag with which the Component will be rendered. * @param {string} props.className className for styling component with css. */ /** * Platform specific props * @param {number} props.elevation box-shadow of Card in range 0-24. * @param {boolean} props.square If true, rounded corners are degenerated. */ export interface MUICardProperties extends CardProperties { elevation?: number; square?: boolean; } declare const BlueRainCard: React.StatelessComponent<MUICardProperties>; export default BlueRainCard;