reagraph
Version:
WebGL Node-based Graph for React
46 lines (45 loc) • 853 B
TypeScript
import { FC } from 'react';
import { ColorRepresentation } from 'three';
export interface RingProps {
/**
* The color of the ring.
*
* @default '#D8E6EA'
*/
color?: ColorRepresentation;
/**
* Whether the ring should be animated.
*/
animated?: boolean;
/**
* The size of the ring.
*
* @default 1
*/
size?: number;
/**
* The opacity of the ring.
*
* @default 0.5
*/
opacity?: number;
/**
* The stroke width of the ring.
*
* @default 5
*/
strokeWidth?: number;
/**
* The inner radius of the ring.
*
* @default 4
*/
innerRadius?: number;
/**
* The number of segments in the ring geometry.
*
* @default 25
*/
segments?: number;
}
export declare const Ring: FC<RingProps>;