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

29 lines (28 loc) 1.15 kB
import * as React from 'react'; import { ListItemProperties } from '@blueeast/bluerain-ui-interfaces'; /** * The props of ListItem Component * @param {Object} props.style style object for ListItem's style. * @param {Node} props.children Children of ListItem. * @param {boolean} props.active If true, ListItem is rendered in active state. */ /** * Platform specific props * @param {string} props.className className to extend styling of Listitem. * @param {bool} props.button If true, ListItem will be a button. * @param {string} props.component component with which ListItem will be rendered. * @param {string} props.href src to which the ListItem will be directed. * @param {func} props.onPress If button/active, function to be called back when clicked. */ export interface MUIListItemProperties extends ListItemProperties { className?: string; button?: boolean; href?: string; disabled?: boolean; avatarSize?: number; divider?: boolean; selected?: boolean; listItemTextStyle?: object; } declare const BlueRainListItem: React.StatelessComponent<MUIListItemProperties>; export default BlueRainListItem;