UNPKG

@hhgtech/hhg-components

Version:
26 lines (25 loc) 1.69 kB
import React, { ReactNode } from 'react'; import { GridProps } from '@mantine/core'; import { GenderOptionControlProps } from "../../../../atoms"; import { ErrorLabelProps, InputProps, NumberInputProps, TextProps } from "../../../../../mantine"; import { SharingProps } from "./types"; export declare const SubLabel: ({ children, ...props }: TextProps) => React.JSX.Element; export declare const InputText: ({ error, ...props }: InputProps) => React.JSX.Element; export declare const InputNumber: ({ error, ...props }: NumberInputProps) => React.JSX.Element; export declare const GenderControl: (props: GenderOptionControlProps) => React.JSX.Element; export declare const Error: (props: ErrorLabelProps) => React.JSX.Element; type Props = { children: ReactNode; } & SharingProps; declare const _default: (({ children, isMobile, ...props }: Props) => React.JSX.Element) & { Row: ({ children, ...props }: GridProps) => React.JSX.Element; Col: ({ children, ...props }: import("@mantine/core").ColProps & React.RefAttributes<HTMLDivElement>) => React.JSX.Element; SubLabel: ({ children, ...props }: TextProps<HTMLParagraphElement>) => React.JSX.Element; Label: ({ children, ...props }: TextProps<HTMLParagraphElement>) => React.JSX.Element; OptionLabel: ({ children, ...props }: TextProps<HTMLParagraphElement>) => React.JSX.Element; Input: import("../../../../mantine/input").CompoundedComponent; InputNumber: ({ error, ...props }: NumberInputProps) => React.JSX.Element; GenderControl: (props: GenderOptionControlProps) => React.JSX.Element; Error: (props: ErrorLabelProps) => React.JSX.Element; }; export default _default;