reablocks
Version:
Component library for React
29 lines (28 loc) • 1.13 kB
TypeScript
import { FC } from 'react';
export interface TypographyLetterBlockProps {
/** Font family to preview. */
fontFamily: string;
/** Additional class names applied to the block. */
className?: string;
}
export declare const TypographyLetterBlock: FC<TypographyLetterBlockProps>;
export interface TypographySizeBlockProps {
/** Map of size tokens to their font-size values. */
sizes: any;
/** Additional class names applied to the block. */
className?: string;
}
export declare const TypographySizeBlock: FC<TypographySizeBlockProps>;
export interface TypographyWeightBlockProps {
/** Map of weight tokens to their font-weight values. */
weights: any;
/** Additional class names applied to the block. */
className?: string;
}
export declare const TypographyWeightBlock: FC<TypographyWeightBlockProps>;
export declare const TypographyComponentsBlock: FC;
export declare const TypographyBlocks: ({ families, sizes, weights }: {
families: Record<string, string>;
sizes: Record<string, string>;
weights: Record<string, string>;
}) => import("react/jsx-runtime").JSX.Element;