UNPKG

@matt-dunn/react-wireframes

Version:

React component to annotate your components — useful for prototypes and proof of concepts

16 lines (15 loc) 572 B
/** ! * Copyright (c) 2019, Matt Dunn * * @author Matt Dunn */ import React, { ReactNode } from "react"; import { WireframeAnnotation, WireframeAnnotationAPI } from "./api"; export declare const WireframeAnnotationContext: React.Context<WireframeAnnotationAPI>; export declare const WireframeAnnotationComponentContext: React.Context<WireframeAnnotation>; declare type WireframeProviderProps = { children: ReactNode; api: WireframeAnnotationAPI; }; export declare const WireframeProvider: ({ children, api }: WireframeProviderProps) => JSX.Element; export {};