shelving
Version:
Toolkit for using data in JavaScript.
9 lines (8 loc) • 515 B
TypeScript
import type { ReactElement } from "react";
import { type FlexVariants } from "../style/Flex.js";
import type { OptionalChildProps } from "../util/index.js";
import { type InputProps } from "./Input.js";
export interface OutputInputProps extends InputProps, OptionalChildProps, FlexVariants {
}
/** Return static "output" styled as an input, based on whether an `onClick` or `href` prop is provided. */
export declare function OutputInput({ title, placeholder, children, ...props }: OutputInputProps): ReactElement;