/
Bybaleshqa
/
Forktest
Обзор
Документация
Войти
/
Bybaleshqa
/
Forktest
Код
Запросы
1
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
packages/hooks/examples/_Code.tsx
27 строк
602 B
Ivan Iakovlev
docs(hooks): добавлены stories по хукам
20 ноя 2024, 11:54
20 ноя 2024, 11:54
7538000
Код
Авторство
О чём код?
/* eslint-disable @typescript-eslint/no-unsafe-assignment */ /* eslint-disable @typescript-eslint/explicit-module-boundary-types */ /* eslint-disable @typescript-eslint/no-explicit-any */ import { Code as InnerCode } from '../../../docs/showroom/components' import * as React from 'react' export const Code = ({ onClear, data, }: { onClear?: () => void data?: any }) => ( <div style={{ marginTop: 24 }}> <InnerCode gutters noElevation withClear noCopy noRound data={data} height={390} kind="dark" onClear={onClear} /> </div> )