@airplane/views
Version:
A React library for building Airplane views. Views components are optimized in style and functionality to produce internal apps that are easy to build and maintain.
95 lines (94 loc) • 7.85 kB
TypeScript
/// <reference types="react" />
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, {
disableMarkdown?: boolean | undefined;
} & {
children: import("react").ReactNode;
size?: import("@mantine/styles").MantineSize | undefined;
color?: import("../theme/colors").Color | undefined;
lineClamp?: number | undefined;
weight?: import("../theme/typography").FontWeight | undefined;
transform?: import("csstype").Property.TextTransform | undefined;
align?: import("csstype").Property.TextAlign | undefined;
italic?: boolean | undefined;
underline?: boolean | undefined;
strikethrough?: boolean | undefined;
sx?: import("@mantine/styles").CSSObject | undefined;
} & import("../layout/layout.types").CommonLayoutProps & import("../styling.types").CommonStylingProps & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "color" | "transform" | "lineClamp" | "weight" | "children" | "italic" | "underline" | "strikethrough" | "ref" | "size" | "align" | "sx" | "disableMarkdown" | keyof import("../layout/layout.types").CommonLayoutProps | keyof import("../styling.types").CommonStylingProps> & import("react").RefAttributes<HTMLDivElement>>;
export default _default;
export declare const Simple: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, {
disableMarkdown?: boolean | undefined;
} & {
children: import("react").ReactNode;
size?: import("@mantine/styles").MantineSize | undefined;
color?: import("../theme/colors").Color | undefined;
lineClamp?: number | undefined;
weight?: import("../theme/typography").FontWeight | undefined;
transform?: import("csstype").Property.TextTransform | undefined;
align?: import("csstype").Property.TextAlign | undefined;
italic?: boolean | undefined;
underline?: boolean | undefined;
strikethrough?: boolean | undefined;
sx?: import("@mantine/styles").CSSObject | undefined;
} & import("../layout/layout.types").CommonLayoutProps & import("../styling.types").CommonStylingProps & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "color" | "transform" | "lineClamp" | "weight" | "children" | "italic" | "underline" | "strikethrough" | "ref" | "size" | "align" | "sx" | "disableMarkdown" | keyof import("../layout/layout.types").CommonLayoutProps | keyof import("../styling.types").CommonStylingProps> & import("react").RefAttributes<HTMLDivElement>>;
export declare const Markdown: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, {
disableMarkdown?: boolean | undefined;
} & {
children: import("react").ReactNode;
size?: import("@mantine/styles").MantineSize | undefined;
color?: import("../theme/colors").Color | undefined;
lineClamp?: number | undefined;
weight?: import("../theme/typography").FontWeight | undefined;
transform?: import("csstype").Property.TextTransform | undefined;
align?: import("csstype").Property.TextAlign | undefined;
italic?: boolean | undefined;
underline?: boolean | undefined;
strikethrough?: boolean | undefined;
sx?: import("@mantine/styles").CSSObject | undefined;
} & import("../layout/layout.types").CommonLayoutProps & import("../styling.types").CommonStylingProps & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "color" | "transform" | "lineClamp" | "weight" | "children" | "italic" | "underline" | "strikethrough" | "ref" | "size" | "align" | "sx" | "disableMarkdown" | keyof import("../layout/layout.types").CommonLayoutProps | keyof import("../styling.types").CommonStylingProps> & import("react").RefAttributes<HTMLDivElement>>;
export declare const MarkdownWithColor: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, {
disableMarkdown?: boolean | undefined;
} & {
children: import("react").ReactNode;
size?: import("@mantine/styles").MantineSize | undefined;
color?: import("../theme/colors").Color | undefined;
lineClamp?: number | undefined;
weight?: import("../theme/typography").FontWeight | undefined;
transform?: import("csstype").Property.TextTransform | undefined;
align?: import("csstype").Property.TextAlign | undefined;
italic?: boolean | undefined;
underline?: boolean | undefined;
strikethrough?: boolean | undefined;
sx?: import("@mantine/styles").CSSObject | undefined;
} & import("../layout/layout.types").CommonLayoutProps & import("../styling.types").CommonStylingProps & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "color" | "transform" | "lineClamp" | "weight" | "children" | "italic" | "underline" | "strikethrough" | "ref" | "size" | "align" | "sx" | "disableMarkdown" | keyof import("../layout/layout.types").CommonLayoutProps | keyof import("../styling.types").CommonStylingProps> & import("react").RefAttributes<HTMLDivElement>>;
export declare const MarkdownDisabled: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, {
disableMarkdown?: boolean | undefined;
} & {
children: import("react").ReactNode;
size?: import("@mantine/styles").MantineSize | undefined;
color?: import("../theme/colors").Color | undefined;
lineClamp?: number | undefined;
weight?: import("../theme/typography").FontWeight | undefined;
transform?: import("csstype").Property.TextTransform | undefined;
align?: import("csstype").Property.TextAlign | undefined;
italic?: boolean | undefined;
underline?: boolean | undefined;
strikethrough?: boolean | undefined;
sx?: import("@mantine/styles").CSSObject | undefined;
} & import("../layout/layout.types").CommonLayoutProps & import("../styling.types").CommonStylingProps & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "color" | "transform" | "lineClamp" | "weight" | "children" | "italic" | "underline" | "strikethrough" | "ref" | "size" | "align" | "sx" | "disableMarkdown" | keyof import("../layout/layout.types").CommonLayoutProps | keyof import("../styling.types").CommonStylingProps> & import("react").RefAttributes<HTMLDivElement>>;
export declare const NonString: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, {
disableMarkdown?: boolean | undefined;
} & {
children: import("react").ReactNode;
size?: import("@mantine/styles").MantineSize | undefined;
color?: import("../theme/colors").Color | undefined;
lineClamp?: number | undefined;
weight?: import("../theme/typography").FontWeight | undefined;
transform?: import("csstype").Property.TextTransform | undefined;
align?: import("csstype").Property.TextAlign | undefined;
italic?: boolean | undefined;
underline?: boolean | undefined;
strikethrough?: boolean | undefined;
sx?: import("@mantine/styles").CSSObject | undefined;
} & import("../layout/layout.types").CommonLayoutProps & import("../styling.types").CommonStylingProps & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "color" | "transform" | "lineClamp" | "weight" | "children" | "italic" | "underline" | "strikethrough" | "ref" | "size" | "align" | "sx" | "disableMarkdown" | keyof import("../layout/layout.types").CommonLayoutProps | keyof import("../styling.types").CommonStylingProps> & import("react").RefAttributes<HTMLDivElement>>;
export declare const FontWeights: () => import("react/jsx-runtime").JSX.Element;
export declare const Sizes: () => import("react/jsx-runtime").JSX.Element;