forked from patternfly/react-data-view
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.js
More file actions
28 lines (25 loc) · 707 Bytes
/
index.js
File metadata and controls
28 lines (25 loc) · 707 Bytes
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
// eslint-disable-next-line @typescript-eslint/no-unused-vars
import React from 'react';
import { Title, PageSection } from '@patternfly/react-core';
const centerStyle = {
flexGrow: 1,
display: 'flex',
alignItems: 'center',
justifyContent: 'center'
};
const IndexPage = () => {
return (
<PageSection hasBodyWrapper={false} style={centerStyle}>
<div style={{ flex: 'none', textAlign: 'center' }}>
<Title size="4xl" headingLevel="h1">
My extension docs
</Title>
<Title size="2xl" headingLevel="h2">
{'Hi people!'}
</Title>
<p>Welcome to my extension docs.</p>
</div>
</PageSection>
);
};
export default IndexPage;