@open-condo/ui
Version:
A set of React UI components for developing applications inside the condo ecosystem
14 lines • 709 B
TypeScript
import React from 'react';
import { TEXT_TYPES } from './constants';
import type { TitleProps as DefaultTitleProps } from 'antd/lib/typography/Title';
declare const TITLE_LEVELS: [1, 2, 3, 4, 5, 6];
export type TypographyTitleProps = Pick<DefaultTitleProps, 'ellipsis' | 'onClick' | 'title' | 'children' | 'id'> & {
type?: typeof TEXT_TYPES[number];
level?: typeof TITLE_LEVELS[number];
};
declare const Title: React.ForwardRefExoticComponent<Pick<DefaultTitleProps, "children" | "id" | "title" | "onClick" | "ellipsis"> & {
type?: (typeof TEXT_TYPES)[number];
level?: (typeof TITLE_LEVELS)[number];
} & React.RefAttributes<HTMLElement>>;
export { Title, };
//# sourceMappingURL=title.d.ts.map