From 1e52329a741d6fdd53851968347de4ae7d249eb4 Mon Sep 17 00:00:00 2001 From: Vladislav Denisov Date: Mon, 24 Jun 2024 13:16:06 +0300 Subject: [PATCH] docs(sdds-serv): TextArea docs added --- .../docs/components/TextArea.mdx | 87 +++++++++++++++++++ 1 file changed, 87 insertions(+) create mode 100644 website/sdds-serv-docs/docs/components/TextArea.mdx diff --git a/website/sdds-serv-docs/docs/components/TextArea.mdx b/website/sdds-serv-docs/docs/components/TextArea.mdx new file mode 100644 index 0000000000..e043b93278 --- /dev/null +++ b/website/sdds-serv-docs/docs/components/TextArea.mdx @@ -0,0 +1,87 @@ +--- +id: textarea +title: TextArea +--- + +import { PropsTable, Description } from '@site/src/components'; + +# TextArea + + + +## Использование +Компонент `TextArea` может содержать иконку (или кнопку) справа. +Для этого используйте свойство `contentRight`: + +```tsx live +import React from 'react'; +import { TextArea } from '@salutejs/sdds-serv'; +import { IconDownload } from '@salutejs/plasma-icons'; + +export function App() { + return ( +
+