forked from mui/material-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtooltips.js
72 lines (70 loc) · 2.67 KB
/
tooltips.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
import React from 'react';
import withRoot from 'docs/src/modules/components/withRoot';
import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs';
import markdown from 'docs/src/pages/demos/tooltips/tooltips.md';
function Page() {
return (
<MarkdownDocs
markdown={markdown}
demos={{
'pages/demos/tooltips/SimpleTooltips.js': {
js: require('docs/src/pages/demos/tooltips/SimpleTooltips').default,
raw: preval`
module.exports = require('fs')
.readFileSync(require.resolve('docs/src/pages/demos/tooltips/SimpleTooltips'), 'utf8')
`,
},
'pages/demos/tooltips/PositionedTooltips.js': {
js: require('docs/src/pages/demos/tooltips/PositionedTooltips').default,
raw: preval`
module.exports = require('fs')
.readFileSync(require.resolve('docs/src/pages/demos/tooltips/PositionedTooltips'), 'utf8')
`,
},
'pages/demos/tooltips/ControlledTooltips.js': {
js: require('docs/src/pages/demos/tooltips/ControlledTooltips').default,
raw: preval`
module.exports = require('fs')
.readFileSync(require.resolve('docs/src/pages/demos/tooltips/ControlledTooltips'), 'utf8')
`,
},
'pages/demos/tooltips/TriggersTooltips.js': {
js: require('docs/src/pages/demos/tooltips/TriggersTooltips').default,
raw: preval`
module.exports = require('fs')
.readFileSync(require.resolve('docs/src/pages/demos/tooltips/TriggersTooltips'), 'utf8')
`,
},
'pages/demos/tooltips/TransitionsTooltips.js': {
js: require('docs/src/pages/demos/tooltips/TransitionsTooltips').default,
raw: preval`
module.exports = require('fs')
.readFileSync(require.resolve('docs/src/pages/demos/tooltips/TransitionsTooltips'), 'utf8')
`,
},
'pages/demos/tooltips/DelayTooltips.js': {
js: require('docs/src/pages/demos/tooltips/DelayTooltips').default,
raw: preval`
module.exports = require('fs')
.readFileSync(require.resolve('docs/src/pages/demos/tooltips/DelayTooltips'), 'utf8')
`,
},
'pages/demos/tooltips/CustomizedTooltips.js': {
js: require('docs/src/pages/demos/tooltips/CustomizedTooltips').default,
raw: preval`
module.exports = require('fs')
.readFileSync(require.resolve('docs/src/pages/demos/tooltips/CustomizedTooltips'), 'utf8')
`,
},
'pages/demos/tooltips/DisabledTooltips.js': {
js: require('docs/src/pages/demos/tooltips/DisabledTooltips').default,
raw: preval`
module.exports = require('fs')
.readFileSync(require.resolve('docs/src/pages/demos/tooltips/DisabledTooltips'), 'utf8')
`,
},
}}
/>
);
}
export default withRoot(Page);