Repository URL to install this package:
|
Version:
3.7.2 ▾
|
import * as React from 'react';
import { Value } from '../typings';
import { InputProps } from '../inputs/typings';
import { InputState } from '../inputs/InputState';
export declare const StyledLabel: import("styleh-components/dist/styles/styled-components/typings").StyledComponentClass<React.DetailedHTMLProps<React.LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, any, React.DetailedHTMLProps<React.LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>>;
/**
* @see https://www.styled-components.com/docs/faqs#how-can-i-override-styles-with-higher-specificity
*/
export declare const StyledToggle: import("styleh-components/dist/styles/styled-components/typings").StyledComponentClass<any, any, any>;
declare class TogglePlugin extends React.Component<InputProps> {
static isSatisfiedByProps(props: {
type: string;
}): boolean;
static defaultState: (inputState: InputState<import("../inputs/typings").AnyObj>) => {
tooltip: string;
serializer: (state: InputState<import("../inputs/typings").AnyObj>) => {
[x: string]: boolean;
};
validator: (value: Value) => boolean;
};
handleClick: (args?: any) => void;
renderLabel: () => JSX.Element;
render(): JSX.Element;
}
export { TogglePlugin };
export default TogglePlugin;