pre-installations and preparations
This commit is contained in:
1 parent
3e5a0329cb
commit
201d621ac3
6977 files changed
+742826
No files matched your search
+17
@@ -0,0 +1,17 @@
|
||||
import * as React from 'react';
|
||||
import type { FormControlProps } from './FormControl';
|
||||
type ContextFromPropsKey = 'color' | 'disabled' | 'error' | 'fullWidth' | 'hiddenLabel' | 'margin' | 'onBlur' | 'onFocus' | 'required' | 'size' | 'variant';
|
||||
export interface FormControlState extends Pick<FormControlProps, ContextFromPropsKey> {
|
||||
adornedStart: boolean;
|
||||
filled: boolean;
|
||||
focused: boolean;
|
||||
onEmpty: () => void;
|
||||
onFilled: () => void;
|
||||
registerEffect: () => void;
|
||||
setAdornedStart: React.Dispatch<React.SetStateAction<boolean>>;
|
||||
}
|
||||
/**
|
||||
* @ignore - internal component.
|
||||
*/
|
||||
declare const FormControlContext: React.Context<FormControlState | undefined>;
|
||||
export default FormControlContext;
|
||||
Reference in new issue
Block a user