@essential-js/ui
Version:
EssentialJS UI
30 lines (24 loc) • 846 B
TypeScript
/************
Processor: ts
************/
import * as dependency_0 from 'react';
// FILE: copyable.d.tsx
declare namespace ns_copyable {
/// <reference types="react" />
interface Props {
className: string;
children: string;
}
function CopyableCode({ children, className, ...props }: Props): JSX.Element;
}
// FILE: index.d.tsx
declare namespace ns_index {
import HTMLAttributes = dependency_0.HTMLAttributes;
interface Props extends Partial<HTMLAttributes<HTMLElement>> {
children: any;
}
function Code({ children, className, ...props }: Props): JSX.Element;
}
export import CopyableCode = ns_copyable.CopyableCode;
export import Code = ns_index.Code;
export declare const hmr: {on: (event: string, listener: any) => void, off: (event: string, listener: any) => void };