/
gsam
/
ui-kit-ce
Обзор
Документация
Войти
/
gsam
/
ui-kit-ce
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
packages/progress/examples/DifferentLineColor.tsx
22 строки
544 B
Denis Svyatovets
v1.10.0
27 мар 2024, 13:48
27 мар 2024, 13:48
c9029ae
Код
Авторство
О чём код?
import React from 'react' import { LinearProgress, useTheme } from '@v-uik/base' export const DifferentLineColor = (): JSX.Element => { const theme = useTheme() return ( <div> <div style={{ marginBottom: 40 }}> <LinearProgress color="purple" size="lg" /> </div> <div style={{ marginBottom: 40 }}> <LinearProgress color="#008000" size="lg" /> </div> <div style={{ marginBottom: 40 }}> <LinearProgress color={theme.sys.color.errorAlpha} size="lg" /> </div> </div> ) }