UNPKG

@vlinderclimate/net-zero-ui

Version:

<div align="center"> <img src="https://storage.yandexcloud.net/static.vlinderstorage.com/Telegram_VlinderTech.png" width=200 /> </div> <h1 align="center">Net Zero UI kit</h1>

14 lines (13 loc) 582 B
import React, { ReactNode } from "react"; import { FormControlProps as MuiFormControlProps } from "@mui/material/FormControl"; import { SelectProps } from "./Select"; declare type ExcludedProps = "onBlur" | "onChange" | "onFocus" | "onKeyDown" | "onKeyUp"; export interface SelectFieldProps extends Omit<MuiFormControlProps, ExcludedProps> { id: string; label?: string | ReactNode | ReactNode[]; helperText?: string; fullWidth?: boolean; selectProps: SelectProps; } declare const SelectField: React.FC<SelectFieldProps>; export default SelectField;