mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-17 15:40:53 +08:00
33 lines
701 B
Markdown
33 lines
701 B
Markdown
---
|
|
order: 999
|
|
title:
|
|
zh-CN: _InternalPanelDoNotUseOrYouWillBeFired
|
|
en-US: _InternalPanelDoNotUseOrYouWillBeFired
|
|
debug: true
|
|
---
|
|
|
|
## zh-CN
|
|
|
|
调试用组件,请勿直接使用。
|
|
|
|
## en-US
|
|
|
|
Debug usage. Do not use in your production.
|
|
|
|
```tsx
|
|
import { Tooltip } from 'antd';
|
|
import React from 'react';
|
|
|
|
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;
|
|
```
|