@omnia/fx
Version:
Provide Omnia Fx typings and tooling for clientside Omnia development.
41 lines (40 loc) • 944 B
TypeScript
import { HeadingStyles } from "../models";
import { TsxAllowUnknowProperties } from "../TsxAllowUnknowProperties";
/**
* Different sizes of the heading
*/
export declare enum HeadingSizes {
Large = 0
}
export interface HeadingModel {
showTitle: boolean;
values: {
[id: string]: string;
};
}
export interface IHeadingProperties {
/**
* The size of the heading
*/
size?: HeadingSizes;
settingsKey?: string;
securityRoleId?: string;
label?: string;
defaultTitle?: string;
editable?: boolean;
}
export interface IHeading extends IHeadingProperties {
styles?: typeof HeadingStyles;
onChange?: (model: HeadingModel) => void;
}
declare global {
namespace VueTsxSupport.JSX {
interface Element {
}
interface ElementClass {
}
interface IntrinsicElements {
"omfx-heading": TsxAllowUnknowProperties<IHeading>;
}
}
}