Skip to content
This repository was archived by the owner on Feb 6, 2023. It is now read-only.

Commit e5e293f

Browse files
abdellanifacebook-github-bot
authored andcommitted
Update Overview.md (#2434)
Summary: **Summary** Import `Draft.css` in the getting started example. Pull Request resolved: #2434 Reviewed By: claudiopro Differential Revision: D21652152 Pulled By: mrkev fbshipit-source-id: 27edcd7ec883fbb83c9dc06661ade9513f9f0b5d
1 parent 9ac399c commit e5e293f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/Overview.md

+2
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ If you are interested in helping out, or tracking the progress, please follow
4646
import React from 'react';
4747
import ReactDOM from 'react-dom';
4848
import {Editor, EditorState} from 'draft-js';
49+
import 'draft-js/dist/Draft.css';
4950

5051
class MyEditor extends React.Component {
5152
constructor(props) {
@@ -70,6 +71,7 @@ Since the release of React 16.8, you can use [Hooks](https://reactjs.org/docs/ho
7071
import React from 'react';
7172
import ReactDOM from 'react-dom';
7273
import {Editor, EditorState} from 'draft-js';
74+
import 'draft-js/dist/Draft.css';
7375

7476
function MyEditor() {
7577
const [editorState, setEditorState] = React.useState(

0 commit comments

Comments
 (0)