synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
11 lines • 479 B
TypeScript
import { SynapseClientError } from '@sage-bionetworks/synapse-client/util/SynapseClientError';
export type ErrorChipProps = {
chipText: string;
error: SynapseClientError;
};
/**
* A chip component for handling inline errors, where some information can be shown (e.g. an ID) without breaking an entire component.
* @constructor
*/
export default function ErrorChip(props: ErrorChipProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=ErrorChip.d.ts.map