@primer/components
Version:
Primer react components
12 lines (11 loc) • 713 B
TypeScript
import { MaxWidthProps } from 'styled-system';
import { SystemCommonProps, SystemTypographyProps } from './constants';
import { SxProp } from './sx';
import { ComponentProps } from './utils/types';
declare const Truncate: import("styled-components").StyledComponent<"div", any, {
title: string;
inline?: boolean | undefined;
expandable?: boolean | undefined;
} & MaxWidthProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, import("csstype").Property.MaxWidth<import("styled-system").TLengthStyledSystem>> & SystemTypographyProps & SystemCommonProps & SxProp, never>;
export declare type TruncateProps = ComponentProps<typeof Truncate>;
export default Truncate;