UNPKG

@leancodepl/kratos

Version:

Headless React components library for building Ory Kratos authentication flows

29 lines 1.22 kB
import { UiNodeAnchorAttributes } from './UiNodeAnchorAttributes'; import { UiNodeDivisionAttributes } from './UiNodeDivisionAttributes'; import { UiNodeImageAttributes } from './UiNodeImageAttributes'; import { UiNodeInputAttributes } from './UiNodeInputAttributes'; import { UiNodeScriptAttributes } from './UiNodeScriptAttributes'; import { UiNodeTextAttributes } from './UiNodeTextAttributes'; /** * @type UiNodeAttributes * * @export */ export type UiNodeAttributes = { node_type: 'a'; } & UiNodeAnchorAttributes | { node_type: 'div'; } & UiNodeDivisionAttributes | { node_type: 'img'; } & UiNodeImageAttributes | { node_type: 'input'; } & UiNodeInputAttributes | { node_type: 'script'; } & UiNodeScriptAttributes | { node_type: 'text'; } & UiNodeTextAttributes; export declare function UiNodeAttributesFromJSON(json: any): UiNodeAttributes; export declare function UiNodeAttributesFromJSONTyped(json: any, ignoreDiscriminator: boolean): UiNodeAttributes; export declare function UiNodeAttributesToJSON(json: any): any; export declare function UiNodeAttributesToJSONTyped(value?: UiNodeAttributes | null, ignoreDiscriminator?: boolean): any; //# sourceMappingURL=UiNodeAttributes.d.ts.map