matrix-react-sdk
Version:
SDK for matrix.org using React
9 lines (8 loc) • 492 B
TypeScript
import { ComponentProps } from "react";
import AccessibleButton from "../../elements/AccessibleButton";
type Props<T extends keyof JSX.IntrinsicElements> = Omit<ComponentProps<typeof AccessibleButton<T>>, "aria-label" | "title" | "kind" | "className" | "onClick" | "element"> & {
isExpanded: boolean;
onClick: () => void;
};
export declare const DeviceExpandDetailsButton: <T extends keyof JSX.IntrinsicElements>({ isExpanded, onClick, ...rest }: Props<T>) => JSX.Element;
export {};