gd-sprest-js
Version:
SharePoint 2013/Online js components.
33 lines (32 loc) • 733 B
TypeScript
import { IComponentProps } from ".";
/**
* Link
*/
export interface ILinkField {
/** Returns the link element. */
get(): HTMLInputElement;
/** Returns the fabric component. */
getFabricComponent(): any;
/** Returns the link value. */
getValue(): ILinkFieldValue;
}
/**
* Link Properties
*/
export interface ILinkFieldProps extends IComponentProps {
/** The link description. */
description?: string;
/** The change event. */
onChange?: (value: ILinkFieldValue) => void;
/** The link value. */
value?: ILinkFieldValue;
}
/**
* Link Value
*/
export interface ILinkFieldValue {
/** The link description. */
Description?: string;
/** The link url. */
Url?: string;
}