Sha256: 9c89e5a7d6915b0a925ba276a29bd6f73f23923e8a3945501b8fda7a5326e686
Contents?: true
Size: 565 Bytes
Versions: 4
Compression:
Stored size: 565 Bytes
Contents
// @flow import React from 'react'; // eslint-disable-line no-unused-vars import getMuiTheme from 'material-ui/styles/getMuiTheme'; import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider'; import type { ContentPluginProps } from 'ory-editor-core/lib/service/plugin/classes'; import Display from './Display'; export type PropTypes = ContentPluginProps<{ src: string, caption: string }> const Image = (props: PropTypes) => ( <MuiThemeProvider muiTheme={getMuiTheme()}> <Display {...props} /> </MuiThemeProvider> ); export default Image;
Version data entries
4 entries across 4 versions & 1 rubygems