mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-07-09 06:55:07 +00:00
docs: update toast.mdx (#670)
This commit is contained in:
@@ -24,7 +24,7 @@ radix:
|
||||
<Step>Run the following command:</Step>
|
||||
|
||||
```bash
|
||||
npx shadcn-ui@latest add avatar
|
||||
npx shadcn-ui@latest add toast
|
||||
```
|
||||
|
||||
<Step>Add the Toaster component</Step>
|
||||
@@ -55,7 +55,7 @@ export default function RootLayout({ children }) {
|
||||
|
||||
<Step>Copy and paste the following code into your project.</Step>
|
||||
|
||||
<ComponentSource name="avatar" />
|
||||
<ComponentSource name="toast" />
|
||||
|
||||
<Step>Update the import paths to match your project setup.</Step>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user