index.d.ts 587 B

12345678910111213141516171819202122232425262728293031
  1. import { StackConfig } from '../../Config/Stack'
  2. import { RichTextNode } from 'components/RichText'
  3. export interface IRichTextConfig {
  4. content: string | RichTextNode[]
  5. }
  6. export interface IBarConfig {
  7. barChart: boolean
  8. border: {
  9. color: string
  10. width: number
  11. type: 'solid' | 'dashed' | 'dotted'
  12. radius: number
  13. }
  14. gap: number
  15. width: number
  16. stack: StackConfig
  17. }
  18. export interface IRadarConfig {
  19. shape: 'polygon' | 'circle'
  20. name: {
  21. show: boolean
  22. fontFamily: string
  23. fontSize: string
  24. color: string
  25. }
  26. nameGap: number
  27. splitNumber: number
  28. }