@react-md/form
Version:
This package is for creating all the different form input types.
32 lines (31 loc) • 902 B
TypeScript
import type { HTMLAttributes } from "react";
/**
* @remarks \@since 2.8.0
*/
export interface InputToggleIconProps extends HTMLAttributes<HTMLSpanElement> {
/**
* Boolean if the icon should use circle styles. This should normally be
* enabled for radio input types.
*/
circle?: boolean;
/**
* Boolean if the disabled styles should be applied.
*/
disabled?: boolean;
/**
* Boolean if using an overlay for the different icon states.
*/
overlay?: boolean;
/**
* Boolean if the icon should gain the checked state.
*/
checked?: boolean;
/**
* Boolean if using the indeterminate checkbox state.
*/
indeterminate?: boolean;
}
/**
* @remarks \@since 2.8.0
*/
export declare const InputToggleIcon: import("react").ForwardRefExoticComponent<InputToggleIconProps & import("react").RefAttributes<HTMLSpanElement>>;