Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

storyblok-react

storyblok32.2kMITdeprecated0.1.2TypeScript support: included

This package is deprecated. Please use @storyblok/react

React component for storyblok.

javascript, react, storyblok

readme

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

Contribution

Fork me on Github.

This project use semantic-release for generate new versions by using commit messages and we use the Angular Convention to naming the commits. Check this question about it in semantic-release FAQ.