mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-15 09:21:22 +08:00
16 lines
269 B
TypeScript
16 lines
269 B
TypeScript
|
import React from 'react';
|
||
|
import { Input } from 'antd';
|
||
|
|
||
|
const { TextArea } = Input;
|
||
|
|
||
|
const App: React.FC = () => (
|
||
|
<>
|
||
|
<TextArea rows={4} />
|
||
|
<br />
|
||
|
<br />
|
||
|
<TextArea rows={4} placeholder="maxLength is 6" maxLength={6} />
|
||
|
</>
|
||
|
);
|
||
|
|
||
|
export default App;
|