From 19654e514bf001619da4b515817b1e69f78e8ffc Mon Sep 17 00:00:00 2001 From: Darkilen Date: Fri, 6 Apr 2018 11:24:04 +0200 Subject: [PATCH] Adding example of input style --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 8fb800e..fa30e00 100644 --- a/README.md +++ b/README.md @@ -76,6 +76,20 @@ If your input uses custom font sizes, you will need to provide the custom size t /> ``` +### Custom input style +If your input uses custom style, you will need to provide the custom style to `AutosizeInput`. + +```es6 + +``` + ### Uncontrolled input `AutosizeInput` is a [controlled input](https://facebook.github.io/react/docs/forms.html#controlled-components) and depends on the `value` prop to work as intended. It does not support being used as an uncontrolled input.