@hhgtech/hhg-components
Version:
Hello Health Group common components
18 lines (17 loc) • 547 B
TypeScript
import React from 'react';
import { CSSProperties } from 'react';
import { ButtonProps } from '@mantine/core';
type IconComponent = React.ComponentType<React.SVGProps<SVGSVGElement>>;
export type ResultProps = {
icon?: IconComponent;
title?: string;
description?: string;
button?: string;
buttonProps?: Omit<ButtonProps, 'children'> & {
onClick?: () => void;
};
style?: CSSProperties;
className?: string;
};
export declare function Result(props: ResultProps): React.JSX.Element;
export {};