@primer/react
Version:
An implementation of GitHub's Primer Design System using React
9 lines • 755 B
TypeScript
import { RelativeTimeElement } from '@github/relative-time-element';
import type { ComponentProps } from '../utils/types';
declare const RelativeTimeComponent: string & import("styled-components").StyledComponentBase<import("@lit-labs/react").ReactWebComponent<RelativeTimeElement, {}>, any, import("..").SxProp, never> & import("hoist-non-react-statics").NonReactStatics<import("@lit-labs/react").ReactWebComponent<RelativeTimeElement, {}>, {}> & {
displayName: string;
};
declare function RelativeTime({ date, datetime, children, noTitle, ...props }: RelativeTimeProps): import("react").JSX.Element;
export type RelativeTimeProps = ComponentProps<typeof RelativeTimeComponent>;
export default RelativeTime;
//# sourceMappingURL=RelativeTime.d.ts.map