@visactor/react-vtable
Version:
The react version of VTable
16 lines (15 loc) • 582 B
TypeScript
import type { Cursor, Radio as VRenderRadio, RadioAttributes } from '@visactor/vtable/es/vrender';
import React from 'react';
export interface RadioProps {
children?: string;
textStyle?: RadioAttributes['text'];
circleStyle?: RadioAttributes['circle'];
checked?: boolean;
interactive?: boolean;
disabled?: boolean;
disableCursor?: Cursor;
spaceBetweenTextAndIcon?: number;
visible?: boolean;
onChange?: (checked: boolean) => void;
}
export declare const Radio: React.ForwardRefExoticComponent<RadioProps & React.RefAttributes<VRenderRadio>>;