TextArea
Rows
Use the rows
prop to adjust the number of lines displayed.
Note that the rows
prop is complementary to size
.
<DemoLayout> <TextArea rows={1} size="small" defaultValue="Small" /> <TextArea rows={1} size="medium" defaultValue="Medium" /> <TextArea rows={1} defaultValue="Large" /> <TextArea rows={1} size="jumbo" defaultValue="Jumbo" /> </DemoLayout>