UNPKG

@airplane/views

Version:

A React library for building Airplane views. Views components are optimized in style and functionality to produce internal apps that are easy to build and maintain.

6 lines (5 loc) 268 B
import { ParentMessage } from "../message/ParentMessage"; /** * useHandleParentMessage is a hook that allows you to listen for messages sent from the parent frame. */ export declare const useHandleParentMessage: (callback: (message: ParentMessage) => void) => void;