From 6500441ad1fb66116b9cb5f6afffaf16ec5866ff Mon Sep 17 00:00:00 2001 From: cheton Date: Sun, 19 Nov 2023 14:36:30 +0800 Subject: [PATCH] docs: update textarea --- .../pages/components/textarea.page.mdx | 199 ------------------ .../components/textarea/attribute-disabled.js | 11 + .../components/textarea/attribute-readonly.js | 11 + .../components/textarea/attribute-required.js | 8 + .../pages/components/textarea/basic.js | 12 ++ .../pages/components/textarea/index.page.mdx | 78 +++++++ .../pages/components/textarea/sizing.js | 38 ++++ .../pages/components/textarea/validation.js | 68 ++++++ .../components/textarea/variant-filled.js | 8 + .../components/textarea/variant-outline.js | 8 + .../components/textarea/variant-unstyled.js | 8 + 11 files changed, 250 insertions(+), 199 deletions(-) delete mode 100644 packages/react-docs/pages/components/textarea.page.mdx create mode 100644 packages/react-docs/pages/components/textarea/attribute-disabled.js create mode 100644 packages/react-docs/pages/components/textarea/attribute-readonly.js create mode 100644 packages/react-docs/pages/components/textarea/attribute-required.js create mode 100644 packages/react-docs/pages/components/textarea/basic.js create mode 100644 packages/react-docs/pages/components/textarea/index.page.mdx create mode 100644 packages/react-docs/pages/components/textarea/sizing.js create mode 100644 packages/react-docs/pages/components/textarea/validation.js create mode 100644 packages/react-docs/pages/components/textarea/variant-filled.js create mode 100644 packages/react-docs/pages/components/textarea/variant-outline.js create mode 100644 packages/react-docs/pages/components/textarea/variant-unstyled.js diff --git a/packages/react-docs/pages/components/textarea.page.mdx b/packages/react-docs/pages/components/textarea.page.mdx deleted file mode 100644 index 90a92350f5..0000000000 --- a/packages/react-docs/pages/components/textarea.page.mdx +++ /dev/null @@ -1,199 +0,0 @@ -# Textarea - -The `Textarea` component allows you to create a multi-line text input. - -## Import - -```js -import { Textarea } from '@tonic-ui/react'; -``` - -## Usage - -```jsx -<> - Label: -