forked from react-dropzone/react-dropzone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
styleguide.config.js
47 lines (46 loc) · 1023 Bytes
/
styleguide.config.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
const path = require('path')
module.exports = {
title: 'react-dropzone',
styleguideDir: path.join(__dirname, 'styleguide'),
showCode: true,
showUsage: true,
showSidebar: false,
serverPort: 8080,
sections: [
{
content: 'README.md'
},
{
name: 'PropTypes',
components: './src/index.js'
},
{
name: 'Examples',
context: {
Dropzone: './src/index'
},
sections: [
{
name: 'Basic example',
content: 'examples/Basic/Readme.md'
},
{
name: 'Styling Dropzone',
content: 'examples/Styling/Readme.md'
},
{
name: 'Accepting specific file types',
content: 'examples/Accept/Readme.md'
},
{
name: 'Opening File Dialog Programmatically',
content: 'examples/File Dialog/Readme.md'
},
{
name: 'Full Screen Dropzone',
content: 'examples/Fullscreen/Readme.md'
}
]
}
]
}