badge.d.ts 396 B

1234567
  1. import { TextStyleProps } from '@antv/g';
  2. import { ShapeComponent as SC, WithPrefix } from '../../runtime';
  3. export type BadgeOptions = BadgeShapeStyleProps & Record<string, any>;
  4. type MarkerStyleProps<P extends string> = WithPrefix<Record<string, any>, P>;
  5. type BadgeShapeStyleProps = Partial<TextStyleProps> & MarkerStyleProps<'marker'>;
  6. export declare const Badge: SC<BadgeOptions>;
  7. export {};