UNPKG

@primer/react

Version:

An implementation of GitHub's Primer Design System using React

11 lines (10 loc) 591 B
import { MaxWidthProps } from 'styled-system'; 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>> & SxProp, never>; export type TruncateProps = ComponentProps<typeof Truncate>; export default Truncate;