@awsui/components-react
Version:
On July 19th, 2022, we launched [Cloudscape Design System](https://cloudscape.design). Cloudscape is an evolution of AWS-UI. It consists of user interface guidelines, front-end components, design resources, and development tools for building intuitive, en
4 lines • 506 B
TypeScript
import React from 'react';
export type FunctionComponent<Props extends object> = (props: Props) => JSX.Element | null;
export type PropsType<Component extends FunctionComponent<any>> = Component extends FunctionComponent<infer Props> ? Props : never;
export declare function createWidgetizedComponent<Component extends FunctionComponent<any>>(Implementation: Component, Skeleton?: React.ForwardRefExoticComponent<PropsType<Component> & React.RefAttributes<HTMLElement>>): (Loader?: Component) => Component;