/
kaws
/
ui-kit-ce
Обзор
Документация
Войти
/
kaws
/
ui-kit-ce
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
packages/inline-notification/examples/Direction.tsx
36 строк
854 B
Урядышев Павел Александрович
chore: устранены предупреждения eslint
25 июл 2025, 14:03
25 июл 2025, 14:03
1bad2f7
Код
Авторство
О чём код?
import React from 'react' import { InlineNotification, Button } from '@v-uik/base' const description = 'Body text goes here' const actions = ( <Button color="secondary" kind="outlined"> Button </Button> ) export const Direction = (): React.ReactElement => { return ( <div style={{ display: 'flex', flexDirection: 'column', gap: 16 }}> <InlineNotification title="Многострочное уведомление" direction="vertical" actions={actions} onClose={() => { return }} > {description} </InlineNotification> <InlineNotification title="Однострочное уведомление" actions={actions} onClose={() => { return }} > {description} </InlineNotification> </div> ) }