docs: fix TextArea showCount demo (#38849)

* docs: fix TextArea showCount demo

* chore: update snapshot
This commit is contained in:
afc163 2022-11-22 17:02:07 +08:00 committed by GitHub
parent 5038bf467d
commit 0cca743a9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -10005,7 +10005,7 @@ Array [
<div
class="ant-input-textarea ant-input-textarea-show-count"
data-count="0 / 100"
style="height:120px"
style="height:120px;margin-bottom:24px"
>
<textarea
class="ant-input"

View File

@ -3753,7 +3753,7 @@ Array [
<div
class="ant-input-textarea ant-input-textarea-show-count"
data-count="0 / 100"
style="height:120px"
style="height:120px;margin-bottom:24px"
>
<textarea
class="ant-input"

View File

@ -12,7 +12,7 @@ const App: React.FC = () => (
<TextArea
showCount
maxLength={100}
style={{ height: 120 }}
style={{ height: 120, marginBottom: 24 }}
onChange={onChange}
placeholder="can resize"
/>