@navinc/base-react-components
Version:
Nav's Pattern Library
51 lines (50 loc) • 2.19 kB
TypeScript
export const StyledCDNIllustration: import("styled-components").StyledComponent<({ filename, ...props }: {
[x: string]: any;
filename: any;
}) => JSX.Element, any, {}, never>;
export const Svg: import("styled-components").StyledComponent<"svg", any, {}, never>;
export const StyledBackButton: import("styled-components").StyledComponent<{
({ isLoading, ...props }: {
isLoading?: boolean | undefined;
href?: string | undefined;
asAnchor?: boolean | undefined;
} & ({
children?: React.ReactNode;
isLoading?: boolean | undefined;
onClick?: React.ReactEventHandler<Element> | undefined;
trackingContext?: {
type?: string | undefined;
context?: string | undefined;
category?: string | undefined;
payload?: {
category?: string | undefined;
label?: string | undefined;
name?: string | undefined;
} | undefined;
options?: {
integrations?: {
Salesforce?: boolean | undefined;
} | undefined;
} | undefined;
} | undefined;
} & (({
[x: string]: any;
[x: number]: any;
[x: symbol]: any;
} & {
theme?: any;
} & ({} | {
children?: React.ReactNode;
})) & {
as?: string | React.ComponentType<any> | undefined;
forwardedAs?: string | React.ComponentType<any> | undefined;
}))): JSX.Element;
displayName: string;
}, any, {
variation: string;
}, "variation">;
export const CardHeader: import("styled-components").StyledComponent<({ children, label, title, ...remainingProps }: any) => JSX.Element, any, {}, never>;
export const CardFooter: import("styled-components").StyledComponent<({ actionText, actionForm, actionButtonType, actionDataTestId, onAction, actionHref, isActionDisabled, isLoading, onBack, backHref, actionTrackingContext, actionTarget, children, ...remainingProps }: any) => JSX.Element, any, {}, never>;
export const Card: import("styled-components").StyledComponent<"div", any, {}, never>;
export default Card;
import React from "react";