Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F100911725
FormControlContext.d.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, Feb 3, 21:21
Size
710 B
Mime Type
text/x-java
Expires
Wed, Feb 5, 21:21 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
24054781
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
FormControlContext.d.ts
View Options
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;
Event Timeline
Log In to Comment