@primer/react
Version:
An implementation of GitHub's Primer Design System using React
12 lines • 459 B
TypeScript
import React from 'react';
import type { ForwardRefComponent as PolymorphicForwardRefComponent } from '../utils/polymorphic';
type TruncateProps = React.HTMLAttributes<HTMLElement> & {
title: string;
inline?: boolean;
expandable?: boolean;
maxWidth?: number | string;
};
declare const Truncate: PolymorphicForwardRefComponent<"div", TruncateProps>;
export type { TruncateProps };
export default Truncate;
//# sourceMappingURL=Truncate.d.ts.map