mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-16 01:29:11 +08:00
15 lines
449 B
TypeScript
15 lines
449 B
TypeScript
|
import React from 'react';
|
||
|
import { Tooltip } from 'antd';
|
||
|
|
||
|
const { _InternalPanelDoNotUseOrYouWillBeFired: InternalTooltip } = Tooltip;
|
||
|
|
||
|
const App: React.FC = () => (
|
||
|
<>
|
||
|
<InternalTooltip title="Hello, Pink Pure Panel!" color="pink" />
|
||
|
<InternalTooltip title="Hello, Customize Color Pure Panel!" color="#f50" />
|
||
|
<InternalTooltip title="Hello, Pure Panel!" placement="bottomLeft" style={{ width: 200 }} />
|
||
|
</>
|
||
|
);
|
||
|
|
||
|
export default App;
|