Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F99532817
Radio.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
Sat, Jan 25, 06:12
Size
1 KB
Mime Type
text/x-java
Expires
Mon, Jan 27, 06:12 (2 d)
Engine
blob
Format
Raw Data
Handle
23818459
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
Radio.d.ts
View Options
import * as React from 'react';
import { SxProps } from '@mui/system';
import { OverridableStringUnion } from '@mui/types';
import { InternalStandardProps as StandardProps, Theme } from '..';
import { SwitchBaseProps } from '../internal/SwitchBase';
import { RadioClasses } from './radioClasses';
export interface RadioPropsSizeOverrides {}
export interface RadioPropsColorOverrides {}
export interface RadioProps
extends StandardProps<SwitchBaseProps, 'checkedIcon' | 'color' | 'icon' | 'type'> {
/**
* The icon to display when the component is checked.
* @default <RadioButtonIcon checked />
*/
checkedIcon?: React.ReactNode;
/**
* Override or extend the styles applied to the component.
*/
classes?: Partial<RadioClasses>;
/**
* The color of the component.
* It supports both default and custom theme colors, which can be added as shown in the
* [palette customization guide](https://mui.com/material-ui/customization/palette/#adding-new-colors).
* @default 'primary'
*/
color?: OverridableStringUnion<
'primary' | 'secondary' | 'error' | 'info' | 'success' | 'warning' | 'default',
RadioPropsColorOverrides
>;
/**
* If `true`, the component is disabled.
*/
disabled?: boolean;
/**
* The icon to display when the component is unchecked.
* @default <RadioButtonIcon />
*/
icon?: React.ReactNode;
/**
* The size of the component.
* `small` is equivalent to the dense radio styling.
* @default 'medium'
*/
size?: OverridableStringUnion<'small' | 'medium', RadioPropsSizeOverrides>;
/**
* The system prop that allows defining system overrides as well as additional CSS styles.
*/
sx?: SxProps<Theme>;
}
/**
*
* Demos:
*
* - [Radio Group](https://mui.com/material-ui/react-radio-button/)
*
* API:
*
* - [Radio API](https://mui.com/material-ui/api/radio/)
* - inherits [ButtonBase API](https://mui.com/material-ui/api/button-base/)
*/
export default function Radio(props: RadioProps): JSX.Element;
Event Timeline
Log In to Comment