@styleless-ui/react
Version:
Completely unstyled, headless and accessible React UI components.
16 lines (15 loc) • 539 B
TypeScript
import * as React from "react";
import type { PolymorphicProps } from "../../typings";
interface OwnProps {
/**
* The content of the component.
*/
children?: React.ReactNode;
/**
* The className applied to the component.
*/
className?: string;
}
export type Props<E extends React.ElementType> = PolymorphicProps<E, OwnProps>;
declare const DialogDescription: <E extends React.ElementType<any>, R extends HTMLElement>(props: Props<E>, ref: React.Ref<R>) => JSX.Element;
export default DialogDescription;