ant-design/components/input/demo/component-token.tsx
MadCcc 54a2df3f53
fix: input should have correct padding with controlHeight (#45048)
* fix: input should have correct padding with controlHeight

* chore: update snapshot

* chore: update snapshot
2023-09-25 11:44:17 +08:00

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;