jobiqo-cl
Version:
[](https://circleci.com/gh/jobiqo/jobiqo-cl)
22 lines (21 loc) • 585 B
TypeScript
/**
* @file index.tsx
*
* @fileoverview Renders a single facet link in the form of a span.
*/
import * as React from 'react';
export interface FacetLinkProps extends React.ButtonHTMLAttributes<HTMLLinkElement> {
/**
* The content for the facet link.
*/
children: React.ReactNode | string;
/**
* If the facet item is selected.
*/
selected?: boolean;
}
/**
* Styles a facet link as used in the facet listing.
*/
export declare const FacetLinkItem: ({ children, selected, ...props }: FacetLinkProps) => JSX.Element;
export default FacetLinkItem;