@stratakit/bricks
Version:
Small, modular components for StrataKit
16 lines (15 loc) • 526 B
TypeScript
import type { BaseProps } from "@stratakit/foundations/secret-internals";
interface DescriptionProps extends BaseProps {
/**
* The tone of the description.
* @default "neutral"
*/
tone?: "neutral" | "critical";
}
/**
* A presentational description.
*
* See `Field.Description` for convenient usage with form controls.
*/
declare const Description: import("react").ForwardRefExoticComponent<DescriptionProps & import("react").RefAttributes<HTMLDivElement | HTMLElement>>;
export default Description;