///
import { Color, ContentAlignment, FontProps, MarginProps, PaletteTextSlot } from "@apptane/react-ui-core";
import PropTypes from "prop-types";
/**
* Base properties common to all components that support text rendering.
*/
export interface TextProps extends FontProps, MarginProps {
/**
* Children.
*/
children?: React.ReactNode;
/**
* Color of the text. Defaults to `default'.
* Supports palette semantic text colors.
*/
color?: Color | PaletteTextSlot;
/**
* Text alignment. Defaults to `left`.
*/
alignment?: ContentAlignment;
/**
* Indicates that the text must not wrap into new line.
* Paragraph ignores this property.
*/
nowrap?: boolean;
/**
* Indicates that the text must show ellipsis on overflow.
*/
ellipsis?: boolean;
}
export declare const TextPropTypes: {
color: PropTypes.Requireable;
alignment: PropTypes.Requireable;
nowrap: PropTypes.Requireable;
ellipsis: PropTypes.Requireable;
category: PropTypes.Requireable;
size: PropTypes.Requireable;
weight: PropTypes.Requireable;
lineHeight: PropTypes.Requireable;
spacing: PropTypes.Requireable;
mono: PropTypes.Requireable;
margin: PropTypes.Requireable;
marginTop: PropTypes.Requireable;
marginRight: PropTypes.Requireable;
marginBottom: PropTypes.Requireable;
marginLeft: PropTypes.Requireable;
m: PropTypes.Requireable;
mt: PropTypes.Requireable;
mr: PropTypes.Requireable;
mb: PropTypes.Requireable;
ml: PropTypes.Requireable;
};