mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-23 23:18:36 +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;
|