You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
344 B
17 lines
344 B
2 years ago
|
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;
|