-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ca46117
commit de44822
Showing
24 changed files
with
463 additions
and
155 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import React from 'react'; | ||
import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs'; | ||
|
||
const req = require.context('docs/src/pages/guides/globalization', false, /\.(md|js|tsx)$/); | ||
const reqSource = require.context( | ||
'!raw-loader!../../src/pages/guides/globalization', | ||
false, | ||
/\.(js|tsx)$/, | ||
); | ||
const reqPrefix = 'pages/guides/globalization'; | ||
|
||
export default function Page() { | ||
return <MarkdownDocs req={req} reqSource={reqSource} reqPrefix={reqPrefix} />; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
import React from 'react'; | ||
import TablePagination from '@material-ui/core/TablePagination'; | ||
import Rating from '@material-ui/lab/Rating'; | ||
import Autocomplete from '@material-ui/lab/Autocomplete'; | ||
import TextField from '@material-ui/core/TextField'; | ||
import { createMuiTheme, ThemeProvider } from '@material-ui/core/styles'; | ||
import { zhCN } from '@material-ui/core/locale'; | ||
|
||
const theme = createMuiTheme({}, zhCN); | ||
|
||
export default function Locales() { | ||
return ( | ||
<div> | ||
<ThemeProvider theme={theme}> | ||
<TablePagination | ||
count={20} | ||
rowsPerPage={10} | ||
page={1} | ||
component="div" | ||
onChangePage={() => {}} | ||
/> | ||
<Autocomplete | ||
options={[]} | ||
style={{ width: 300 }} | ||
renderInput={params => ( | ||
<TextField {...params} label="Autocomplete" variant="outlined" fullWidth /> | ||
)} | ||
/> | ||
<Rating value={1} name="locales" /> | ||
</ThemeProvider> | ||
</div> | ||
); | ||
} |
Oops, something went wrong.