Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F122996139
ToggleButton.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
Wed, Jul 23, 08:20
Size
610 B
Mime Type
text/x-java
Expires
Fri, Jul 25, 08:20 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
27549461
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
ToggleButton.d.ts
View Options
import * as React from 'react';
import { ButtonProps } from './Button';
export type ToggleButtonType = 'checkbox' | 'radio';
export interface ToggleButtonProps extends Omit<ButtonProps, 'onChange' | 'type'> {
type?: ToggleButtonType;
name?: string;
checked?: boolean;
disabled?: boolean;
onChange?: React.ChangeEventHandler<HTMLInputElement>;
value: string | ReadonlyArray<string> | number;
inputRef?: React.Ref<HTMLInputElement>;
}
declare const ToggleButton: React.ForwardRefExoticComponent<ToggleButtonProps & React.RefAttributes<HTMLLabelElement>>;
export default ToggleButton;
Event Timeline
Log In to Comment