@antv/t8
Version:
T8 is a text visualization solution for unstructured data within the AntV technology stack, and it is a declarative JSON Schema syntax that can be used to describe the content of data interpretation reports.
14 lines • 477 B
TypeScript
import { FunctionalComponent } from 'preact';
/**
* Proportion Component
*
* Visualizes a proportion/percentage as a filled segment of a circle
* Similar to a simplified pie chart with two segments (filled and unfilled)
* If proportion is 1 (100%), it renders a fully filled circle
*
* @param data - Proportion value between 0 and 1 (e.g., 0.75 for 75%)
*/
export declare const Proportion: FunctionalComponent<{
data: number;
}>;
//# sourceMappingURL=index.d.ts.map