UNPKG

synapse-react-client

Version:

[![npm version](https://badge.fury.io/js/synapse-react-client.svg)](https://badge.fury.io/js/synapse-react-client) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettie

15 lines 768 B
import { FileEntity } from '@sage-bionetworks/synapse-types'; type LinkToURLProps = { /** The ID of the FileEntity that should be updated, or container entity in which a new FileEntity should be created. */ entityId: string; /** Invoked when the validity of the form changes (e.g. to disable/activate a submit button) */ onIsValidChanged?: (isValid: boolean) => void; /** Invoked when the call to create or update the entity succeeds. */ onSuccess?: (newOrUpdatedEntity: FileEntity) => void; }; export type LinkToURLHandle = { submit: () => void; }; export declare const LinkToURL: import("react").ForwardRefExoticComponent<LinkToURLProps & import("react").RefAttributes<LinkToURLHandle>>; export {}; //# sourceMappingURL=LinkToURL.d.ts.map