@prezly/theme-kit-ui
Version:
UI components for Prezly themes
13 lines (12 loc) • 416 B
TypeScript
import type { Category } from '@prezly/sdk';
export declare function CategoryLink({ category, className }: CategoryLink.Props): import("react/jsx-runtime").JSX.Element;
export declare namespace CategoryLink {
interface DisplayedCategory {
name: Category.Translation['name'];
href: `/${string}`;
}
interface Props {
category: DisplayedCategory;
className?: string;
}
}