mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-30 20:38:45 +08:00
502dac12aa
* docs: fix code * feat: lint * feat: prettier * feat: test * feat: review * feat: format html * feat: format html
17 lines
344 B
TypeScript
17 lines
344 B
TypeScript
import React from 'react';
|
|
import { Alert } from 'antd';
|
|
import Marquee from 'react-fast-marquee';
|
|
|
|
const App: React.FC = () => (
|
|
<Alert
|
|
banner
|
|
message={
|
|
<Marquee pauseOnHover gradient={false}>
|
|
I can be a React component, multiple React components, or just some text.
|
|
</Marquee>
|
|
}
|
|
/>
|
|
);
|
|
|
|
export default App;
|