<commit_before>/* @flow */

import React, { Component } from 'react';
import { EditorState, convertFromRaw } from 'draft-js';
import { Editor } from '../../src';

class ConvertFromRawDraftContent extends Component {
  constructor(props) {
    super(props);
    const contentState = convertFromRaw({"entityMap":{},"blocks":[{"key":"637gr","text":"Initialized from content state.","type":"unstyled","depth":0,"inlineStyleRanges":[],"entityRanges":[],"data":{}}]});
    const editorState = EditorState.createWithContent(contentState);
    this.state = {
      editorState,
    }
  }
<commit_msg>Storybook for center align text<commit_after>/* @flow */

import React, { Component } from 'react';
import { EditorState, convertFromRaw } from 'draft-js';
import { Editor } from '../../src';

class ConvertFromRawDraftContent extends Component {
  constructor(props) {
    super(props);
    const contentState = convertFromRaw({
      "blocks": [
        {
          "key": "637gr",
          "text": "Initialized from content state.",
          "type": "unstyled",
          "depth": 0,
          "inlineStyleRanges": [],
          "entityRanges": [],
          "data": {
            "text-align": "center"
          }
        }
      ],
      "entityMap": {}
    });
    const editorState = EditorState.createWithContent(contentState);
    this.state = {
      editorState,
    }
  }

{'fraction_non_alphanumeric': 0.1625544267053701, 'fraction_numerical': 0.005805515239477504, 'mean_word_length': 2.9971014492753625, 'pattern_counts': {'":': 19, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5516145', 'n_tokens_mistral': 400, 'n_tokens_neox': 394, 'n_words': 85}