Skip to content

Commit 15605ee

Browse files
committed
Remove example
1 parent 2bf1aaa commit 15605ee

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

site/pages/docs/use-toaster.mdx

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -166,30 +166,6 @@ const AnimatedNotifications = () => {
166166
};
167167
```
168168

169-
### Multiple Toaster Example
170-
171-
```jsx
172-
const App = () => {
173-
// Main notifications
174-
const main = useToaster();
175-
176-
// Sidebar notifications
177-
const sidebar = useToaster({ duration: 3000 }, 'sidebar');
178-
179-
return (
180-
<div>
181-
<MainNotifications {...main} />
182-
<SidebarNotifications {...sidebar} />
183-
184-
<button onClick={() => toast('Main notification')}>Main Toast</button>
185-
186-
<button onClick={() => toast('Sidebar toast', { toasterId: 'sidebar' })}>
187-
Sidebar Toast
188-
</button>
189-
</div>
190-
);
191-
};
192-
```
193169

194170
## Usage with React Native
195171

0 commit comments

Comments
 (0)