UNPKG

@leancodepl/kratos

Version:

Headless React components library for building Ory Kratos authentication flows

63 lines 2.07 kB
import { UiText } from './UiText'; /** * * @export * @interface UiNodeAnchorAttributes */ export interface UiNodeAnchorAttributes { /** * The link's href (destination) URL. * * format: uri * @type {string} * @memberof UiNodeAnchorAttributes */ href: string; /** * A unique identifier * @type {string} * @memberof UiNodeAnchorAttributes */ id: string; /** * NodeType represents this node's types. It is a mirror of `node.type` and * is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is "a". * text Text * input Input * img Image * a Anchor * script Script * div Division * @type {string} * @memberof UiNodeAnchorAttributes */ node_type: UiNodeAnchorAttributesNodeTypeEnum; /** * * @type {UiText} * @memberof UiNodeAnchorAttributes */ title: UiText; } /** * @export */ export declare const UiNodeAnchorAttributesNodeTypeEnum: { readonly Text: "text"; readonly Input: "input"; readonly Img: "img"; readonly A: "a"; readonly Script: "script"; readonly Div: "div"; readonly UnknownDefaultOpenApi: "11184809"; }; export type UiNodeAnchorAttributesNodeTypeEnum = typeof UiNodeAnchorAttributesNodeTypeEnum[keyof typeof UiNodeAnchorAttributesNodeTypeEnum]; /** * Check if a given object implements the UiNodeAnchorAttributes interface. */ export declare function instanceOfUiNodeAnchorAttributes(value: object): value is UiNodeAnchorAttributes; export declare function UiNodeAnchorAttributesFromJSON(json: any): UiNodeAnchorAttributes; export declare function UiNodeAnchorAttributesFromJSONTyped(json: any, ignoreDiscriminator: boolean): UiNodeAnchorAttributes; export declare function UiNodeAnchorAttributesToJSON(json: any): UiNodeAnchorAttributes; export declare function UiNodeAnchorAttributesToJSONTyped(value?: UiNodeAnchorAttributes | null, ignoreDiscriminator?: boolean): any; //# sourceMappingURL=UiNodeAnchorAttributes.d.ts.map