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

19 lines (18 loc) 736 B
import * as React from 'react'; import { BadgeProperties } from '@blueeast/bluerain-ui-interfaces'; /** * The universal props of Badge Component * @param {Object} props.style Get the style object. * @param {ReactNode} props.badgeContent Content of the Badge. * The specific libraray props of Badge Component * @param {enum} props.color The enum color of Badge. * @param {ReactNode} props.children the children on which the badge will append styles. */ export interface MUIBadgeProperties extends BadgeProperties { color?: 'default' | 'primary' | 'secondary' | 'error'; children?: React.ReactNode; } declare class Badge extends React.Component<MUIBadgeProperties, {}> { render(): JSX.Element; } export default Badge;