@styleless-ui/react
Version:
Completely unstyled, headless and accessible React UI components.
16 lines (15 loc) • 510 B
TypeScript
import * as React from "react";
import type { MergeElementProps } from "../../typings";
interface OwnProps {
/**
* The content of the component.
*/
children?: React.ReactNode;
/**
* The className applied to the component.
*/
className?: string;
}
export type Props = Omit<MergeElementProps<"div", OwnProps>, "defaultChecked" | "defaultValue">;
declare const ExpandableContent: (props: Props, ref: React.Ref<HTMLDivElement>) => JSX.Element;
export default ExpandableContent;