### Tabs Component Examples in TSX Source: https://context7.com/srcube/srcube-taro/llms.txt Demonstrates the usage of the Tabs component for organizing content into distinct views. Includes examples for basic tab setup, controlled tabs using state, and disabling individual tabs. The component relies on `@srcube-taro/ui` for its implementation. ```tsx import { Tabs, TabsList, Tab, TabPanel } from '@srcube-taro/ui' import { View, Text } from '@tarojs/components' import { useState } from 'react' function TabsExamples() { const [activeTab, setActiveTab] = useState('tab1') return ( <> {/* Basic tabs */} Tab 1 Tab 2 Tab 3 Content for Tab 1 Content for Tab 2 Content for Tab 3 {/* Controlled tabs */} Home Profile Settings Home content Profile content Settings content {/* Disabled tab */} Enabled Disabled ) } ``` -------------------------------- ### Textarea Component Examples in TSX Source: https://context7.com/srcube/srcube-taro/llms.txt Demonstrates the functionality of the Textarea component, offering multi-line text input with features like character count and auto-resizing. Examples cover basic usage, setting maximum length, fixed and auto heights, disabling the input, and error state handling. The component is sourced from `@srcube-taro/ui`. ```tsx import { Textarea } from '@srcube-taro/ui' import { useState } from 'react' function TextareaExamples() { const [text, setText] = useState('') const [comment, setComment] = useState('') return ( <> {/* Basic textarea */}