@airplane/views
Version:
A React library for building Airplane views. Views components are optimized in style and functionality to produce internal apps that are easy to build and maintain.
12 lines (11 loc) • 451 B
TypeScript
import { RefObject } from "react";
import { FontWeight } from "../../components/theme/typography";
export declare const useIsOverflow: (ref: RefObject<HTMLElement>) => boolean | undefined;
type OverflowTextProps = {
className?: string;
wrap?: boolean;
value: any;
weight?: FontWeight;
};
export declare const OverflowText: ({ className, value, wrap, weight, }: OverflowTextProps) => import("react/jsx-runtime").JSX.Element;
export {};