@abgov/react-components
Version:
Government of Alberta - UI components for React
25 lines (24 loc) • 817 B
TypeScript
import { Margins, GoabFilterChipTheme } from '@abgov/ui-components-common';
interface WCProps extends Margins {
ref: React.RefObject<HTMLElement | null>;
icontheme: GoabFilterChipTheme;
error?: string;
content: string;
testid?: string;
}
declare module "react" {
namespace JSX {
interface IntrinsicElements {
"goa-filter-chip": WCProps & React.HTMLAttributes<HTMLElement>;
}
}
}
export interface GoabFilterChipProps extends Margins {
onClick?: () => void;
iconTheme?: GoabFilterChipTheme;
error?: boolean;
content: string;
testId?: string;
}
export declare const GoabFilterChip: ({ iconTheme, error, content, onClick, mt, mr, mb, ml, testId, }: GoabFilterChipProps) => import("react/jsx-runtime").JSX.Element;
export default GoabFilterChip;