UNPKG

@wulperstudio/cms

Version:
29 lines (28 loc) 2.09 kB
import React from 'react'; import { OutlinedTextFieldProps } from '@mui/material'; import { InputErrorProps, InputSizeType, InputVariantType } from '../../types/inputs'; export type InputOutlinedModel = Omit<OutlinedTextFieldProps, 'variant' | 'size'>; export interface WrapperInputVariantModel { error?: boolean; variant: InputVariantType; size?: InputSizeType; backgroundColor?: string; disabledHoverVariantOutAndFlo?: boolean; } export declare const WrapperInputVariant: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material").Theme> & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & { ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined; }, keyof import("@mui/system").BoxOwnProps<import("@mui/material").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & WrapperInputVariantModel, {}, {}>; interface InputLabelModel { focused?: boolean; variant: InputVariantType; } export declare const InputLabel: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & InputLabelModel, React.DetailedHTMLProps<React.LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, {}>; export interface BaseInputVariantModel extends InputOutlinedModel { variant: InputVariantType; } export declare const BaseInputVariant: import("@emotion/styled").StyledComponent<Omit<InputOutlinedModel, "ref"> & React.RefAttributes<HTMLDivElement> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & BaseInputVariantModel, {}, {}>; export type BaseInputVariantProps = React.ComponentProps<typeof BaseInputVariant>; export declare const ErrorAlert: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & { variant?: InputErrorProps['errorVariant']; }, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>; export {};