/
githubmirror
/
styled-components
Обзор
Документация
Войти
/
githubmirror
/
styled-components
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
packages/native-showcase/src/components/FeatureChip.tsx
15 строк
413 B
Evan Jacobs
chore(bench): sandbox, headless benches, native-showcase, ios-benchmark
11 май 2026, 10:37
11 май 2026, 10:37
062ec8b
Код
Авторство
О чём код?
import React from 'react'; import styled from 'styled-components/native'; import { theme as t } from '@/theme/tokens'; const Label = styled.Text` font-family: ${t.fontFamily.mono}; font-size: ${t.fontSize.monoSm}px; letter-spacing: 0.5px; color: ${t.colors.fgFaint}; text-transform: uppercase; `; export function FeatureChip({ children }: { children: string }) { return <Label>{children}</Label>; }