@blocklet/ui-react
Version:
Some useful front-end web components that can be used in Blocklets.
11 lines (10 loc) • 378 B
TypeScript
import { ReactElement } from 'react';
export default function PublishComponent({ componentDid, grantedRoles, onClose, render, }: {
componentDid: string;
grantedRoles?: string[];
onClose: () => void;
render?: ({ onClick, loading }: {
onClick: () => void;
loading: boolean;
}) => ReactElement<any>;
}): import("react/jsx-runtime").JSX.Element;