@teravn/onui
Version:
The React UI component library is based on MUI
74 lines (73 loc) • 2.24 kB
TypeScript
import { OwnerStateThemeType } from './';
declare const InputBase: () => {
MuiInputBase: {
styleOverrides: {
root: ({ theme }: OwnerStateThemeType) => {
border: string;
borderRadius: string;
color: string;
fontSize: string;
fontWeight: string;
lineHeight: string;
wordWrap: string;
boxShadow: string;
'&.Mui-disabled': {
background: string;
borderColor: string;
'> input': {
color: string;
'-webkit-text-fill-color': string;
};
};
'&.Mui-error': {
border: string;
'&.Mui-focused': {
border: string;
boxShadow: string;
};
};
'&.Mui-focused': {
border: string;
boxShadow: string;
};
'&::placeholder': {
color: string;
};
'&.MuiInputBase-multiline': {
paddingTop: number;
paddingRight: number;
paddingBottom: number;
};
input: {
textOverflow: string;
};
};
};
};
MuiOutlinedInput: {
styleOverrides: {
root: ({ theme }: OwnerStateThemeType) => {
paddingLeft: string;
borderRadius: string;
};
notchedOutline: () => {
border: string;
};
input: ({ theme }: OwnerStateThemeType) => {
padding: string;
};
};
};
MuiFormHelperText: {
styleOverrides: {
root: ({ theme }: OwnerStateThemeType) => {
fontSize: string;
fontWeight: number;
lineHeight: string;
margin: string;
color: string;
};
};
};
};
export default InputBase;