UNPKG

@primer/react

Version:

An implementation of GitHub's Primer Design System using React

14 lines 689 B
import type { MaxWidthProps } from 'styled-system'; import type { SxProp } from '../sx'; import type { ComponentProps } from '../utils/types'; import type { ForwardRefComponent as PolymorphicForwardRefComponent } from '../utils/polymorphic'; type StyledTruncateProps = { title: string; inline?: boolean; expandable?: boolean; } & MaxWidthProps & SxProp; declare const StyledTruncate: import("styled-components").StyledComponent<"div", any, StyledTruncateProps, never>; export type TruncateProps = ComponentProps<typeof StyledTruncate>; declare const Truncate: PolymorphicForwardRefComponent<"div", TruncateProps>; export default Truncate; //# sourceMappingURL=Truncate.d.ts.map