docs: update toast.mdx (#670)

This commit is contained in:
shadcn
2023-06-23 19:13:29 +04:00
committed by GitHub
parent cf139e5fa1
commit 343acb3a51

View File

@@ -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>