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