--------------------------------------------------------------------------------
/docs/demo/formError.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: formError
3 | nav:
4 | title: Demo
5 | path: /demo
6 | ---
7 |
8 |
--------------------------------------------------------------------------------
/docs/demo/onVisibleChange.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: onVisibleChange
3 | nav:
4 | title: Demo
5 | path: /demo
6 | ---
7 |
8 |
--------------------------------------------------------------------------------
/docs/demo/placement.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: placement
3 | nav:
4 | title: Demo
5 | path: /demo
6 | ---
7 |
8 |
--------------------------------------------------------------------------------
/docs/demo/point.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: Point
3 | nav:
4 | title: Demo
5 | path: /demo
6 | ---
7 |
8 |
--------------------------------------------------------------------------------
/docs/demo/showArrow.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: showArrow
3 | nav:
4 | title: Demo
5 | path: /demo
6 | ---
7 |
8 |
9 |
--------------------------------------------------------------------------------
/docs/demo/simple.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: simple
3 | nav:
4 | title: Demo
5 | path: /demo
6 | ---
7 |
8 |
--------------------------------------------------------------------------------
/docs/examples/arrowContent.tsx:
--------------------------------------------------------------------------------
1 | import React, { CSSProperties } from 'react';
2 | import Tooltip from 'rc-tooltip';
3 | import '../../assets/bootstrap_white.less';
4 |
5 | const text = Tooltip Text;
6 |
7 | const styles: React.CSSProperties = {
8 | display: 'table-cell',
9 | height: '60px',
10 | width: '80px',
11 | textAlign: 'center',
12 | background: '#f6f6f6',
13 | verticalAlign: 'middle',
14 | border: '5px solid white',
15 | };
16 |
17 | const rowStyle: React.CSSProperties = {
18 | display: 'table-row',
19 | };
20 |
21 | const Test: React.FC = () => (
22 | }
37 | >
38 |
39 | Top
40 |
41 |
42 |