@navinc/base-react-components
Version:
Nav's Pattern Library
38 lines (37 loc) • 2.13 kB
TypeScript
export const HelperIcon: import("styled-components").StyledComponent<{
({ name, ...props }: {
[x: string]: any;
name?: string | undefined;
}): JSX.Element;
propTypes: {
name: import("prop-types").Requireable<string>;
};
}, any, {}, never>;
export const HelperDescription: import("styled-components").StyledComponent<({ bold, shouldScaleFont, light, ...props }: import("../copy").CopyProps) => JSX.Element, any, {
size: "sm";
bold: true;
}, "size" | "bold">;
export const HelperItem: import("styled-components").StyledComponent<"div", any, any, string | number | symbol>;
export const Helper: import("styled-components").StyledComponent<({ className, hasSpaceForHelper, helperLinkAction, helperText, iconName }: any) => JSX.Element, any, {}, never>;
export const Label: import("styled-components").StyledComponent<({ bold, light, ...props }: import("../text").TextProps) => JSX.Element, any, {
$bold?: boolean | undefined;
}, never>;
export const FieldWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
export const Input: import("styled-components").StyledComponent<"input", any, {}, never>;
export const CurrencyInput: import("styled-components").StyledComponent<"input", any, {
as: typeof NumberFormat;
}, "as">;
export const PercentInput: import("styled-components").StyledComponent<"input", any, {
as: typeof NumberFormat;
}, "as">;
export const NumberInput: import("styled-components").StyledComponent<"input", any, {
as: typeof NumberFormat;
}, "as">;
export const Chevron: import("styled-components").StyledComponent<({ className, disabled, isInvalid }: any) => JSX.Element, any, {}, never>;
export const Field: import("styled-components").StyledComponent<"label", any, {}, never>;
export const Err: import("styled-components").StyledComponent<({ bold, shouldScaleFont, light, ...props }: import("../copy").CopyProps) => JSX.Element, any, {
size: "sm";
bold: true;
}, "size" | "bold">;
export const Errors: import("styled-components").StyledComponent<"div", any, {}, never>;
import NumberFormat from "react-number-format";