import type { FontSize } from './utils';
/**
* The `H1Props` interface defines the props used by the H1 component.
* The `$isLight` prop allows for customizing the font color of the heading.
* When set to `true`, the heading will be styled with the secondary font color from the theme, making it appear lighter.
* If `$isLight` is `false` or not provided, the heading will use the default font color.
*/
export interface H1Props {
/**
* Determines whether the heading should be displayed in a light style.
* When set to `true`, the heading will use the secondary font color defined in the theme.
* If `false` or `undefined`, the heading will use the default font color.
*/
$isLight?: boolean;
}
/**
* The H1 component is a styled heading level 1 (`
`) component.
*
* @param props The props of the component.
* @param props.theme The theme of the component.
* @param props.$isLight Determines whether the heading should be displayed in a light style.
* @returns A React component.
*
* @example
* ```tsx
*
Hello, World!
* ```
*/
export declare const H1: import("@emotion/styled").StyledComponent<{
theme?: import("@emotion/react").Theme;
as?: React.ElementType;
} & H1Props, import("react").DetailedHTMLProps, HTMLHeadingElement>, {}>;
/**
* The `H2Props` interface defines the props used by the H2 component.
* The `$isLight` prop allows for customizing the font color of the heading.
* When set to `true`, the heading will be styled with the secondary font color from the theme, making it appear lighter.
* If `$isLight` is `false` or not provided, the heading will use the default font color.
*/
export interface H2Props {
/**
* Determines whether the heading should be displayed in a light style.
* When set to `true`, the heading will use the secondary font color defined in the theme.
* If `false` or `undefined`, the heading will use the default font color.
*/
$isLight?: boolean;
}
/**
* The H2 component is a styled heading level 2 (`
`) component.
*
* @param props The props of the component.
* @param props.theme The theme of the component.
* @param props.$isLight Determines whether the heading should be displayed in a light style.
* @returns A React component.
*
* @example
* ```tsx
*
Hello, World!
* ```
*/
export declare const H2: import("@emotion/styled").StyledComponent<{
theme?: import("@emotion/react").Theme;
as?: React.ElementType;
} & H2Props, import("react").DetailedHTMLProps, HTMLHeadingElement>, {}>;
/**
* The `H3Props` interface defines the props used by the H3 component.
* The `$isLight` prop allows for customizing the font color of the heading.
* When set to `true`, the heading will be styled with the secondary font color from the theme, making it appear lighter.
* If `$isLight` is `false` or not provided, the heading will use the default font color.
*/
export interface H3Props {
/**
* Determines whether the heading should be displayed in a light style.
* When set to `true`, the heading will use the secondary font color defined in the theme.
* If `false` or `undefined`, the heading will use the default font color.
*/
$isLight?: boolean;
}
/**
* The H3 component is a styled heading level 3 (`
`) component.
*
* @param props The props of the component.
* @param props.theme The theme of the component.
* @param props.$isLight Determines whether the heading should be displayed in a light style.
* @returns A React component.
*
* @example
* ```tsx
*
Hello, World!
* ```
*/
export declare const H3: import("@emotion/styled").StyledComponent<{
theme?: import("@emotion/react").Theme;
as?: React.ElementType;
} & H3Props, import("react").DetailedHTMLProps, HTMLHeadingElement>, {}>;
/**
* The `PProps` interface defines the props used by the paragraph component.
* It includes options for text alignment, styling, and font size, giving flexibility in how the paragraph is displayed.
*/
export interface PProps {
/**
* Determines the horizontal alignment of the paragraph.
* - `'center'`: Center alignment.
* - `'left'`: Left alignment.
* - `'right'`: Right alignment.
* If `undefined`, the paragraph will inherit the text alignment from its parent.
*/
$align?: 'center' | 'left' | 'right';
/**
* Determines whether the paragraph should be displayed in a light style.
* When set to `true`, the paragraph will use the secondary font color defined in the theme.
* If `false` or `undefined`, the paragraph will use the default font color.
*/
$isLight?: boolean;
/**
* Determines the font size of the paragraph.
* - `'small'`: Small font size. (1.2rem)
* - `'medium'`: Medium font size. (1.4rem)
* - `'large'`: Large font size. (1.6rem)
* The actual font size is determined by the `getPSize` function.
* If `undefined`, the paragraph will use the default font size.
*/
$size?: FontSize;
}
/**
* The P component is a styled paragraph (`
`) component.
*
* @param props The props of the component.
* @param props.theme The theme of the component.
* @param props.$align Determines the horizontal alignment of the paragraph.
* @param props.$isLight Determines whether the paragraph should be displayed in a light style.
* @param props.$size Determines the font size of the paragraph.
* @returns A React component.
*
* @example
* ```tsx
*
* Lorem ipsum dolor sit amet, consectetur adipiscing elit.
*
* ```
*/
export declare const P: import("@emotion/styled").StyledComponent<{
theme?: import("@emotion/react").Theme;
as?: React.ElementType;
} & PProps, import("react").DetailedHTMLProps, HTMLParagraphElement>, {}>;
/**
* The `PProps` interface defines the props used by the paragraph component.
* It includes options for text alignment, styling, and font size, giving flexibility in how the paragraph is displayed.
*/
export interface LabelProps {
/**
* Determines the horizontal alignment of the label.
* - `'center'`: Center alignment.
* - `'left'`: Left alignment.
* - `'right'`: Right alignment.
* If `undefined`, the label will inherit the text alignment from its parent.
*/
$align?: 'center' | 'left' | 'right';
/**
* Determines whether the label should be displayed in a light style.
* When set to `true`, the label will use the secondary font color defined in the theme.
* If `false` or `undefined`, the label will use the default font color.
*/
$isLight?: boolean;
/**
* Determines the font size of the label.
* - `'small'`: Small font size. (1.2rem)
* - `'medium'`: Medium font size. (1.4rem)
* - `'large'`: Large font size. (1.6rem)
* The actual font size is determined by the `getPSize` function.
* If `undefined`, the label will use the default font size.
*/
$size?: FontSize;
}
/**
* The Label component is a styled label (`