UNPKG

@primer/react

Version:

An implementation of GitHub's Primer Design System using React

13 lines 541 B
import React from 'react'; import type { MaxWidthProps } from 'styled-system'; import type { SxProp } from '../sx'; import type { ForwardRefComponent as PolymorphicForwardRefComponent } from '../utils/polymorphic'; type TruncateProps = React.HTMLAttributes<HTMLElement> & { title: string; inline?: boolean; expandable?: boolean; } & MaxWidthProps & SxProp; declare const Truncate: PolymorphicForwardRefComponent<"div", TruncateProps>; export type { TruncateProps }; export default Truncate; //# sourceMappingURL=Truncate.d.ts.map