-
-
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.
[docs] Make it easier to find material icons (#16956)
* [docs] Make it easier to find material icons * Josh review * Matt feedback, add ellipsis * Use radio for icon themes * add josh suggestion
- Loading branch information
1 parent
cf22f61
commit b1ed501
Showing
10 changed files
with
563 additions
and
18 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
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,22 @@ | ||
import React from 'react'; | ||
import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs'; | ||
import Markdown from 'docs/src/pages/components/material-icons/material-icons.md'; | ||
import SearchIcons from 'docs/src/pages/components/material-icons/SearchIcons'; | ||
|
||
const req = name => { | ||
const map = { | ||
'material-icons.md': Markdown, | ||
'SearchIcons.js': { | ||
default: SearchIcons, | ||
}, | ||
}; | ||
return map[name]; | ||
}; | ||
req.keys = () => ['material-icons.md', 'SearchIcons.js']; | ||
const reqPrefix = 'pages/components/material-icons'; | ||
|
||
function Page() { | ||
return <MarkdownDocs disableToc req={req} reqSource={() => {}} reqPrefix={reqPrefix} />; | ||
} | ||
|
||
export default Page; |
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
Oops, something went wrong.