Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

graphand-react

Package Overview
Dependencies
Maintainers
1
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphand-react - npm Package Compare versions

Comparing version 0.4.15-beta to 0.4.16-beta

6

dist/types/components/PromiseSuspense.d.ts

@@ -36,6 +36,6 @@ import React from "react";

componentWillUnmount(): void;
renderCallback(): React.ReactNode;
renderFallback(): React.ReactNode;
render(): React.ReactNode;
renderCallback(): JSX.Element;
renderFallback(): JSX.Element;
render(): JSX.Element;
}
export default PromiseSuspense;

@@ -0,3 +1,3 @@

/// <reference types="react" />
import { GraphandError, GraphandModel } from "graphand-js";
import React from "react";
import { GraphandFormTemplate, GraphandFormTemplateParamsBase } from "../components/GraphandForm";

@@ -8,3 +8,3 @@ export declare type GraphandFormOptions = {

instance?: GraphandModel;
controls?: React.ReactNode | ((props: GraphandFormOptions) => React.ReactNode);
controls?: JSX.Element | ((props: GraphandFormOptions) => JSX.Element);
fieldsOptions?: any;

@@ -23,3 +23,3 @@ onChange?: (values: any, helpers: GraphandFormTemplateParamsBase) => void;

};
declare function renderForm(options: GraphandFormOptions): React.ReactNode;
declare function renderForm(options: GraphandFormOptions): JSX.Element;
export default renderForm;

@@ -0,5 +1,5 @@

/// <reference types="react" />
import { GraphandModelListPromise, GraphandModelPromise } from "graphand-js";
import React from "react";
export declare type PromiseSuspenseCallback<T> = React.ReactNode | ((res: T, loading: boolean, error: Error) => React.ReactNode);
export declare type PromiseSuspenseFallback<T> = React.ReactNode | ((res: T, loading: boolean, error: Error) => React.ReactNode);
export declare type PromiseSuspenseCallback<T> = JSX.Element | ((res: T, loading: boolean, error: Error) => JSX.Element);
export declare type PromiseSuspenseFallback<T> = JSX.Element | ((res: T, loading: boolean, error: Error) => JSX.Element);
export declare type PromiseSuspenseOptions<T> = {

@@ -16,4 +16,4 @@ promise?: GraphandModelPromise<any> | GraphandModelListPromise<any>;

};
export declare type SuspenseDefinition<T> = (callback: PromiseSuspenseCallback<T>, optionsOrFallback?: PromiseSuspenseOptions<T> | PromiseSuspenseFallback<T>, options?: PromiseSuspenseOptions<T>) => React.ReactNode;
declare function suspense<T>(callback: PromiseSuspenseCallback<T>, optionsOrFallback?: PromiseSuspenseOptions<T> | PromiseSuspenseFallback<T>, options?: PromiseSuspenseOptions<T>): React.ReactNode;
export declare type SuspenseDefinition<T> = (callback: PromiseSuspenseCallback<T>, optionsOrFallback?: PromiseSuspenseOptions<T> | PromiseSuspenseFallback<T>, options?: PromiseSuspenseOptions<T>) => JSX.Element;
declare function suspense<T>(callback: PromiseSuspenseCallback<T>, optionsOrFallback?: PromiseSuspenseOptions<T> | PromiseSuspenseFallback<T>, options?: PromiseSuspenseOptions<T>): JSX.Element;
export default suspense;

@@ -21,5 +21,5 @@ import { GraphandModel, GraphandPlugin, GraphandField } from "graphand-js";

class GraphandModel {
static renderForm: (options: GraphandFormOptions) => React.ReactNode;
static renderForm: (options: GraphandFormOptions) => JSX.Element;
suspense: SuspenseDefinition<this>;
renderForm: (options: GraphandFormOptions) => React.ReactNode;
renderForm: (options: GraphandFormOptions) => JSX.Element;
renderFieldView: any;

@@ -26,0 +26,0 @@ renderFieldInput: any;

{
"name": "graphand-react",
"version": "0.4.15-beta",
"version": "0.4.16-beta",
"description": "",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/pierrecabriere/graphand-react",

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc