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

23 lines (22 loc) 886 B
import * as React from 'react'; /** * The universal props of Avatar Component * @param {boolean} props.disabled if true, switch is rendered in disabled form. * @param {boolean} props.value value of the switch. * @param {function} props.onValueChange Invoked with the new value when the value changes. * @param {Object} props.style Style object for switch component. * The specific libraray props of Badge Component * @param {string or boolean} props.checked Keeps the value unchanged. * @param {Object} props.classes the children on which the switch will append styles. * @param {Object} props.onChange Invoked with the new value when the value changes. */ declare class BlueRainSwitch extends React.Component<{ muValue: string; }, { value: boolean; }> { constructor(props: any); onChange(): void; render(): JSX.Element; } export default BlueRainSwitch;