mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-13 07:39:10 +08:00
2cdf586291
* chore: fix lint * chore: fix lint * test: fix 16 * fix: lint
17 lines
344 B
TypeScript
17 lines
344 B
TypeScript
import React from 'react';
|
|
import Marquee from 'react-fast-marquee';
|
|
import { Alert } from 'antd';
|
|
|
|
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;
|