import React from 'react';
import { plugin } from './jscss';
import { mergeObject } from '../utils';
import { getNodeStyle } from '../utils/style';
import './style/index';

export default options => {
  const { data } = options;
  const { style } = mergeObject(plugin, data);
  return <div style={getNodeStyle(style)} />;
};
