@dnb/eufemia
Version:
DNB Eufemia Design System UI Library
15 lines (14 loc) • 453 B
TypeScript
/**
* HTML Element
*
*/
import React from 'react';
import type { TypographySize, TypographyProps } from './Typography';
export type PSize = TypographySize;
export type PProps = TypographyProps<HTMLParagraphElement>;
declare function P(props: PProps): import("react/jsx-runtime").JSX.Element;
export default P;
export type ParagraphContextType = {
isNested?: boolean;
};
export declare const ParagraphContext: React.Context<ParagraphContextType>;