/
sdds
/
plasma
Обзор
Документация
Войти
/
sdds
/
plasma
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
dev
packages/plasma-web/src/components/Editable/Editable.ts
12 строк
422 B
Alexandr Krivonos
feat(plasma-web/b2c): update Editable with tests
13 сен 2024, 10:18
13 сен 2024, 10:18
0fded2b
Код
Авторство
О чём код?
import { editableConfig, component, mergeConfig } from '@salutejs/plasma-new-hope/styled-components'; import * as typographyComponents from '../Typography'; import { config } from './Editable.config'; export const typographyVariants = typographyComponents; const finalConfig = editableConfig(typographyVariants); const mergedConfig = mergeConfig(finalConfig, config); export const Editable = component(mergedConfig);