mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 11:08:45 +08:00
54a2df3f53
* fix: input should have correct padding with controlHeight * chore: update snapshot * chore: update snapshot
11 lines
248 B
TypeScript
11 lines
248 B
TypeScript
import React from 'react';
|
|
import { ConfigProvider, Input } from 'antd';
|
|
|
|
const App: React.FC = () => (
|
|
<ConfigProvider theme={{ token: { controlHeight: 28 } }}>
|
|
<Input placeholder="Basic usage" />
|
|
</ConfigProvider>
|
|
);
|
|
|
|
export default App;
|