@equinor/fusion-react-person
Version:
React component for displaying an person information
10 lines • 785 B
TypeScript
import type { PropsWithChildren } from 'react';
import { type ComponentProps } from '@equinor/fusion-react-utils';
import HTMLPersonCardCustomElement, { type CardData } from '@equinor/fusion-wc-person/card';
import type { PersonItemSize } from '@equinor/fusion-wc-person';
type ElementProps = PropsWithChildren<Partial<Pick<HTMLPersonCardCustomElement, 'azureId' | 'upn' | 'dataSource' | 'size' | 'maxWidth' | 'contentHeight'>>>;
export type PersonCardProps = ComponentProps<HTMLPersonCardCustomElement, ElementProps>;
export declare const PersonCard: import("@equinor/fusion-react-utils").WebComponent<HTMLPersonCardCustomElement, ElementProps>;
export type { HTMLPersonCardCustomElement, PersonItemSize, CardData };
export default PersonCard;
//# sourceMappingURL=PersonCard.d.ts.map