## Accordion Usage example: ```typescript jsx import React, { MutableRefObject, useEffect, useRef, useState } from "react"; import { NotificationList, NotificationItemType, VStack, Button, } from '@project-1114/ui-kit' let firstNotification: NotificationItemType = { title: 'Уведомление 1', showTime: 1500, id: 'first', body: ( ) } let secondNotification: NotificationItemType = { title: 'Уведомление 2', showTime: 2500, id: 'second', body: ( ) } let thirdNotification: NotificationItemType = { title: 'Уведомление 3', showTime: 3500, id: 'third', body: ( ) } export function App(){ const [notifications, setNotifications] = useState([]); const timerRef = useRef() as MutableRefObject>; useEffect(() => { if(notifications.length > 0){ clearTimeout(timerRef.current); timerRef.current = setTimeout(() => { const array = [...notifications]; array.shift() setNotifications(array); }, notifications[0].showTime ?? 1500) } else { clearTimeout(timerRef.current); } }, [notifications]) return ( { const array = [...notifications]; array.shift() setNotifications(array); }} /> ) } ```