From da458ab823949ee1090316a3d50950ff89a04a7d Mon Sep 17 00:00:00 2001 From: Moritz Klack Date: Wed, 19 Oct 2022 15:27:36 +0200 Subject: [PATCH] docs(readme): add important statement (#777) make it clear how to import the Resizable component. --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bc75f3a42..d4028ddb1 100644 --- a/README.md +++ b/README.md @@ -58,10 +58,12 @@ $ npm install --save re-resizable ### Example with `defaultSize` ```javascript +import { Resizable } from 're-resizable'; + Sample with default size @@ -73,6 +75,8 @@ $ npm install --save re-resizable If you use `size` props, please manage state by yourself. ```javascript +import { Resizable } from 're-resizable'; + {