ant-design/components/mentions/demo/variant.tsx
MadCcc 3af521d422
feat: Input/InputNumber/Mentions support filled variant (#46435)
* feat: Input filled variant

* feat: InputNumber filled variant

* feat: mentions variant

* fix: TextArea status with affix

* chore: update snapshot

* chore: update snapshot

* feat: pagination input

* fix: fix diff

* feat: input-number disabled

* fixL InputNumber

* chore: update snapshot

* feat: better style

* chore: update

* chore: update snapshot

* feat: use variant classNames

* chore: update snapshot

* feat: mentions affix style

* chore
2023-12-18 17:53:31 +08:00

13 lines
316 B
TypeScript

import React from 'react';
import { Flex, Mentions } from 'antd';
const App: React.FC = () => (
<Flex vertical gap={12}>
<Mentions placeholder="Outlined" />
<Mentions placeholder="Filled" variant="filled" />
<Mentions placeholder="Borderless" variant="borderless" />
</Flex>
);
export default App;