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.

7 lines (6 loc) 227 B
/** * useComponentId is a hook for getting a component id. * * It'll use the user provided id if it exists, otherwise it'll generate a unique id. */ export declare const useComponentId: (id?: string | undefined) => string;