upsetjs import { categoricalAddon as categoricalAddonImpl , ICategory , ICategoricalStyleProps , ICategoryBins , categoricalAggregatedAddon as categoricalAggregatedAddonImpl , } from '@upsetjs/addons' ; import type { UpSetAddon } from '../react' ; export type { ICategoricalStyleProps , ICategory } from '@upsetjs/addons' ; export { categoricalHistogram , ICategoryBin , ICategories , ICategoryBins } from '@upsetjs/math' ; param prop param elems param options export function categoricalAddon < T > ( prop , elems , options = { } ) { return categoricalAddonImpl ( prop , elems , options ) ; } param prop param elems param options export function categoricalAggregatedAddon < T > ( acc , options = { } ) { return categoricalAggregatedAddonImpl ( acc , options ) ; }