mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-16 01:29:11 +08:00
15 lines
323 B
TypeScript
15 lines
323 B
TypeScript
|
import React from 'react';
|
||
|
import { Watermark } from 'antd';
|
||
|
|
||
|
const App: React.FC = () => (
|
||
|
<Watermark
|
||
|
height={30}
|
||
|
width={130}
|
||
|
image="https://mdn.alipayobjects.com/huamei_7uahnr/afts/img/A*lkAoRbywo0oAAAAAAAAAAAAADrJ8AQ/original"
|
||
|
>
|
||
|
<div style={{ height: 500 }} />
|
||
|
</Watermark>
|
||
|
);
|
||
|
|
||
|
export default App;
|