@equinor/fusion-react-person
Version:
React component for displaying an person information
10 lines • 775 B
TypeScript
import { PropsWithChildren } from 'react';
import { ComponentProps } from '@equinor/fusion-react-utils';
import HTMLPersonCardCustomElement, { CardData } from '@equinor/fusion-wc-person/card';
import { 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, type PersonItemSize, type CardData };
export default PersonCard;
//# sourceMappingURL=PersonCard.d.ts.map