@navinc/base-react-components
Version:
Nav's Pattern Library
43 lines (42 loc) • 2.01 kB
TypeScript
declare var _default: import("styled-components").StyledComponent<{
({ to, href, target, onClick, className, children, bold, trackingContext: { context, category, type, options, ...payload }, ...props }: {
[x: string]: any;
to?: string | undefined;
href?: any;
target?: string | undefined;
onClick?: (() => void) | undefined;
className?: string | undefined;
children: any;
bold: any;
trackingContext?: {
context?: string | undefined;
category?: string | undefined;
type?: string | undefined;
options: any;
} | undefined;
}): JSX.Element;
propTypes: {
href: import("prop-types").Requireable<string | object>;
target: import("prop-types").Requireable<string>;
onClick: import("prop-types").Requireable<(...args: any[]) => any>;
className: import("prop-types").Requireable<string>;
children: import("prop-types").Requireable<import("prop-types").ReactNodeLike>;
trackingContext: import("prop-types").Requireable<import("prop-types").InferProps<{
type: import("prop-types").Requireable<string>;
context: import("prop-types").Requireable<string>;
category: import("prop-types").Requireable<string>;
payload: import("prop-types").Requireable<import("prop-types").InferProps<{
category: import("prop-types").Requireable<string>;
label: import("prop-types").Requireable<string>;
name: import("prop-types").Requireable<string>;
}>>;
options: import("prop-types").Requireable<import("prop-types").InferProps<{
integrations: import("prop-types").Requireable<import("prop-types").InferProps<{
Salesforce: import("prop-types").Requireable<boolean>;
}>>;
}>>;
}>>;
};
displayName: string;
}, any, {}, never>;
export default _default;