Storyblok Editable Component For React

Storyblok Editable Component

Wrap this component to make your components editable in storyblok.com

Installation

$ npm install storyblok-react --save

Example

import SbEditable from 'storyblok-react';

const Feature = (props) => (
  <SbEditable content={props.content}>
    <div className="feature">
      {props.content.name}
    </div>
  </SbEditable>
);

export default Feature;

License

MIT

GitHub

https://github.com/storyblok/storyblok-react