import { AnchorHTMLAttributes } from 'react'; import { CategoryButtonProps } from './styled-components'; export interface CategoryNavigationProps { /** * An array of category objects, they must have a value property and can have an url property */ categories: Category[]; /** * The value of the category that is going to be active by default */ initialActiveCategory?: Category['value']; /** * Function that will be called on category change */ onCategoryChange?: (category: Category) => void; /** * Determines if the navigation container should include padding. */ hasPadding?: boolean; } interface Category { displayName?: string; props?: AnchorHTMLAttributes & CategoryButtonProps; url?: string; value: string; } declare const CategoryNavigation: ({ categories, initialActiveCategory, onCategoryChange, hasPadding, }: CategoryNavigationProps) => JSX.Element; export default CategoryNavigation;