UNPKG

@antv/g2

Version:

the Grammar of Graphics in Javascript

8 lines (7 loc) 396 B
import { TextStyleProps } from '@antv/g'; import { ShapeComponent as SC, WithPrefix } from '../../runtime'; export type BadgeOptions = BadgeShapeStyleProps & Record<string, any>; type MarkerStyleProps<P extends string> = WithPrefix<Record<string, any>, P>; type BadgeShapeStyleProps = Partial<TextStyleProps> & MarkerStyleProps<'marker'>; export declare const Badge: SC<BadgeOptions>; export {};