[docs] Add Templates listing to examples page#4449
Merged
bharatkashyap merged 3 commits intomui:masterfrom Nov 22, 2024
Merged
Conversation
prakhargupta1
approved these changes
Nov 22, 2024
Contributor
prakhargupta1
left a comment
There was a problem hiding this comment.
The featured example looks good: https://deploy-preview-4449--mui-toolpad-docs.netlify.app/toolpad/core/introduction/examples/ 🙌
| <!-- #default-branch-switch --> | ||
|
|
||
| {{"component": "modules/components/ExamplesGrid/ExamplesGrid.tsx", "examplesFile": "core-examples.ts"}} | ||
| ## Featured Examples |
Member
There was a problem hiding this comment.
We use sentence case
Suggested change
| ## Featured Examples | |
| ## Featured examples |
Fixing this in #4350.
|
|
||
| export default function FeaturedExamples(props: FeaturedExamplesProps) { | ||
| const [examples, setExamples] = React.useState<Example[]>([]); | ||
| const [loading, setLoading] = React.useState(true); |
| @@ -9,4 +9,10 @@ title: Examples | |||
|
|
|||
| <!-- #default-branch-switch --> | |||
Member
There was a problem hiding this comment.
| description: string; | ||
| src: string; | ||
| srcDark?: string; | ||
| href: string; |
Member
There was a problem hiding this comment.
| 'This app shows you how to get started using Toolpad Core with Next.js, Auth.js and customize the Material UI theme', | ||
| src: '/static/toolpad/docs/core/auth-next-themed.png', | ||
| srcDark: '/static/toolpad/docs/core/auth-next-themed-dark.png', | ||
| 'This example shows you how to get started building a dashboard with Toolpad Core, Next.js app router, Auth.js and Material UI components in a customized theme', |
Member
There was a problem hiding this comment.
Leading dot:
Suggested change
| 'This example shows you how to get started building a dashboard with Toolpad Core, Next.js app router, Auth.js and Material UI components in a customized theme', | |
| 'This example shows you how to get started building a dashboard with Toolpad Core, Next.js app router, Auth.js and Material UI components in a customized theme.', |
Fixed this and the others in #4558
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Uh oh!
There was an error while loading. Please reload this page.