react-decoy
Version:
<p align="center" role="heading" aria-level="1"><picture><source srcset="https://codeberg.org/colingourlay/react-decoy/raw/branch/master/assets/logo-block.svg" media="(max-width: 640px)" /><img title="React Decoy" alt="React Decoy" src="https://codeberg.o
12 lines (11 loc) • 517 B
TypeScript
import React from 'react';
interface IDecoyProps {
active?: boolean;
as?: keyof JSX.IntrinsicElements;
children: React.ReactNode;
}
export declare function Decoy({ active, as, children }: IDecoyProps): React.ReactElement<{
children: React.ReactNode;
ref: React.MutableRefObject<undefined>;
}, string | ((props: any, deprecatedLegacyContext?: any) => React.ReactElement<any, any> | null) | (new (props: any, deprecatedLegacyContext?: any) => React.Component<any, any, any>)>;
export {};