@hhgtech/hhg-components
Version:
Hello Health Group common components
16 lines (15 loc) • 724 B
TypeScript
import React from 'react';
import { SpoilerProps as MantineSpoilerProps } from '@mantine/core';
import { GATrackingCode } from "../../../care/components/organisms/bookingSearchBar/types";
export type SpoilerProps = {
children?: React.ReactNode;
line?: number;
lineHeight?: number;
maxHeight?: number;
showLabel?: React.ReactNode;
hideLabel?: React.ReactNode;
trackingAttributes?: GATrackingCode;
customExpandFn?: () => void;
} & Omit<MantineSpoilerProps, 'showLabel' | 'hideLabel' | 'maxHeight'>;
declare const Spoiler: ({ children, line, lineHeight, trackingAttributes, maxHeight: _maxHeight, customExpandFn, ...rest }: SpoilerProps) => React.JSX.Element;
export { Spoiler };