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

21 lines (20 loc) 844 B
import * as React from 'react'; import { FormControlProperties } from '@blueeast/bluerain-ui-interfaces'; /** * The props of FormControl Component * @param {Node} props.children Children of FormControl component. * @param {Object} props.style style object for FormControl's style. * @param {Object} props.component component to generate FormControl component with. * @param {Object} props.className className for FormControl's extended style. */ export interface MUIFormControlProperties extends FormControlProperties { classes?: {}; disabled?: boolean; error?: boolean; fullWidth?: boolean; margin?: 'none' | 'dense' | 'normal'; required?: boolean; component?: string | object | any; } declare const BlueRainFormControl: React.StatelessComponent<MUIFormControlProperties>; export default BlueRainFormControl;