: Props;
export interface IntrinsicAttributes {
key?: any;
}
export type ElementType =
| {
[K in keyof IntrinsicElements]: P extends IntrinsicElements[K]
? K
: never;
}[keyof IntrinsicElements]
| ComponentType
;
export interface Element extends VNode {}
export type ElementClass = Component | FunctionComponent;
export interface ElementAttributesProperty {
props: any;
}
export interface ElementChildrenAttribute {
children: any;
}
export type DOMCSSProperties = {
[key in keyof Omit<
CSSStyleDeclaration,
| 'item'
| 'setProperty'
| 'removeProperty'
| 'getPropertyValue'
| 'getPropertyPriority'
>]?: string | number | null | undefined;
};
export type AllCSSProperties = {
[key: string]: string | number | null | undefined;
};
export interface CSSProperties extends AllCSSProperties, DOMCSSProperties {
cssText?: string | null;
}
export interface SignalLike {
value: T;
peek(): T;
subscribe(fn: (value: T) => void): () => void;
}
export type Signalish = T | SignalLike;
export type UnpackSignal = T extends SignalLike ? V : T;
export interface SVGAttributes
extends HTMLAttributes {
accentHeight?:
| number
| string
| undefined
| SignalLike;
accumulate?:
| 'none'
| 'sum'
| undefined
| SignalLike<'none' | 'sum' | undefined>;
additive?:
| 'replace'
| 'sum'
| undefined
| SignalLike<'replace' | 'sum' | undefined>;
alignmentBaseline?:
| 'auto'
| 'baseline'
| 'before-edge'
| 'text-before-edge'
| 'middle'
| 'central'
| 'after-edge'
| 'text-after-edge'
| 'ideographic'
| 'alphabetic'
| 'hanging'
| 'mathematical'
| 'inherit'
| undefined
| SignalLike<
| 'auto'
| 'baseline'
| 'before-edge'
| 'text-before-edge'
| 'middle'
| 'central'
| 'after-edge'
| 'text-after-edge'
| 'ideographic'
| 'alphabetic'
| 'hanging'
| 'mathematical'
| 'inherit'
| undefined
>;
'alignment-baseline'?:
| 'auto'
| 'baseline'
| 'before-edge'
| 'text-before-edge'
| 'middle'
| 'central'
| 'after-edge'
| 'text-after-edge'
| 'ideographic'
| 'alphabetic'
| 'hanging'
| 'mathematical'
| 'inherit'
| undefined
| SignalLike<
| 'auto'
| 'baseline'
| 'before-edge'
| 'text-before-edge'
| 'middle'
| 'central'
| 'after-edge'
| 'text-after-edge'
| 'ideographic'
| 'alphabetic'
| 'hanging'
| 'mathematical'
| 'inherit'
| undefined
>;
allowReorder?:
| 'no'
| 'yes'
| undefined
| SignalLike<'no' | 'yes' | undefined>;
'allow-reorder'?:
| 'no'
| 'yes'
| undefined
| SignalLike<'no' | 'yes' | undefined>;
alphabetic?:
| number
| string
| undefined
| SignalLike;
amplitude?:
| number
| string
| undefined
| SignalLike;
/** @deprecated See https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/arabic-form */
arabicForm?:
| 'initial'
| 'medial'
| 'terminal'
| 'isolated'
| undefined
| SignalLike<'initial' | 'medial' | 'terminal' | 'isolated' | undefined>;
/** @deprecated See https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/arabic-form */
'arabic-form'?:
| 'initial'
| 'medial'
| 'terminal'
| 'isolated'
| undefined
| SignalLike<'initial' | 'medial' | 'terminal' | 'isolated' | undefined>;
ascent?:
| number
| string
| undefined
| SignalLike;
attributeName?: string | undefined | SignalLike;
attributeType?: string | undefined | SignalLike;
autoReverse?:
| number
| string
| undefined
| SignalLike;
azimuth?:
| number
| string
| undefined
| SignalLike;
baseFrequency?:
| number
| string
| undefined
| SignalLike;
baselineShift?:
| number
| string
| undefined
| SignalLike;
'baseline-shift'?:
| number
| string
| undefined
| SignalLike;
baseProfile?:
| number
| string
| undefined
| SignalLike;
bbox?:
| number
| string
| undefined
| SignalLike;
begin?:
| number
| string
| undefined
| SignalLike;
bias?:
| number
| string
| undefined
| SignalLike;
by?: number | string | undefined | SignalLike;
calcMode?:
| number
| string
| undefined
| SignalLike;
capHeight?:
| number
| string
| undefined
| SignalLike;
'cap-height'?:
| number
| string
| undefined
| SignalLike;
clip?:
| number
| string
| undefined
| SignalLike;
clipPath?: string | undefined | SignalLike;
'clip-path'?: string | undefined | SignalLike;
clipPathUnits?:
| number
| string
| undefined
| SignalLike;
clipRule?:
| number
| string
| undefined
| SignalLike;
'clip-rule'?:
| number
| string
| undefined
| SignalLike;
colorInterpolation?:
| number
| string
| undefined
| SignalLike;
'color-interpolation'?:
| number
| string
| undefined
| SignalLike;
colorInterpolationFilters?:
| 'auto'
| 'sRGB'
| 'linearRGB'
| 'inherit'
| undefined
| SignalLike<'auto' | 'sRGB' | 'linearRGB' | 'inherit' | undefined>;
'color-interpolation-filters'?:
| 'auto'
| 'sRGB'
| 'linearRGB'
| 'inherit'
| undefined
| SignalLike<'auto' | 'sRGB' | 'linearRGB' | 'inherit' | undefined>;
colorProfile?:
| number
| string
| undefined
| SignalLike;
'color-profile'?:
| number
| string
| undefined
| SignalLike;
colorRendering?:
| number
| string
| undefined
| SignalLike;
'color-rendering'?:
| number
| string
| undefined
| SignalLike;
contentScriptType?:
| number
| string
| undefined
| SignalLike;
'content-script-type'?:
| number
| string
| undefined
| SignalLike;
contentStyleType?:
| number
| string
| undefined
| SignalLike;
'content-style-type'?:
| number
| string
| undefined
| SignalLike;
cursor?:
| number
| string
| undefined
| SignalLike;
cx?: number | string | undefined | SignalLike;
cy?: number | string | undefined | SignalLike;
d?: string | undefined | SignalLike;
decelerate?:
| number
| string
| undefined
| SignalLike;
descent?:
| number
| string
| undefined
| SignalLike;
diffuseConstant?:
| number
| string
| undefined
| SignalLike;
direction?:
| number
| string
| undefined
| SignalLike;
display?:
| number
| string
| undefined
| SignalLike;
divisor?:
| number
| string
| undefined
| SignalLike;
dominantBaseline?:
| number
| string
| undefined
| SignalLike;
'dominant-baseline'?:
| number
| string
| undefined
| SignalLike;
dur?: number | string | undefined | SignalLike;
dx?: number | string | undefined | SignalLike;
dy?: number | string | undefined | SignalLike;
edgeMode?:
| number
| string
| undefined
| SignalLike;
elevation?:
| number
| string
| undefined
| SignalLike;
enableBackground?:
| number
| string
| undefined
| SignalLike;
'enable-background'?:
| number
| string
| undefined
| SignalLike;
end?: number | string | undefined | SignalLike;
exponent?:
| number
| string
| undefined
| SignalLike;
externalResourcesRequired?:
| number
| string
| undefined
| SignalLike;
fill?: string | undefined | SignalLike;
fillOpacity?:
| number
| string
| undefined
| SignalLike;
'fill-opacity'?:
| number
| string
| undefined
| SignalLike;
fillRule?:
| 'nonzero'
| 'evenodd'
| 'inherit'
| undefined
| SignalLike<'nonzero' | 'evenodd' | 'inherit' | undefined>;
'fill-rule'?:
| 'nonzero'
| 'evenodd'
| 'inherit'
| undefined
| SignalLike<'nonzero' | 'evenodd' | 'inherit' | undefined>;
filter?: string | undefined | SignalLike;
filterRes?:
| number
| string
| undefined
| SignalLike;
filterUnits?:
| number
| string
| undefined
| SignalLike;
floodColor?:
| number
| string
| undefined
| SignalLike;
'flood-color'?:
| number
| string
| undefined
| SignalLike;
floodOpacity?:
| number
| string
| undefined
| SignalLike;
'flood-opacity'?:
| number
| string
| undefined
| SignalLike;
focusable?:
| number
| string
| undefined
| SignalLike;
fontFamily?: string | undefined | SignalLike;
'font-family'?: string | undefined | SignalLike;
fontSize?:
| number
| string
| undefined
| SignalLike;
'font-size'?:
| number
| string
| undefined
| SignalLike;
fontSizeAdjust?:
| number
| string
| undefined
| SignalLike;
'font-size-adjust'?:
| number
| string
| undefined
| SignalLike;
fontStretch?:
| number
| string
| undefined
| SignalLike;
'font-stretch'?:
| number
| string
| undefined
| SignalLike;
fontStyle?:
| number
| string
| undefined
| SignalLike;
'font-style'?:
| number
| string
| undefined
| SignalLike;
fontVariant?:
| number
| string
| undefined
| SignalLike;
'font-variant'?:
| number
| string
| undefined
| SignalLike;
fontWeight?:
| number
| string
| undefined
| SignalLike;
'font-weight'?:
| number
| string
| undefined
| SignalLike;
format?:
| number
| string
| undefined
| SignalLike;
from?:
| number
| string
| undefined
| SignalLike;
fx?: number | string | undefined | SignalLike;
fy?: number | string | undefined | SignalLike;
g1?: number | string | undefined | SignalLike;
g2?: number | string | undefined | SignalLike;
glyphName?:
| number
| string
| undefined
| SignalLike;
'glyph-name'?:
| number
| string
| undefined
| SignalLike;
glyphOrientationHorizontal?:
| number
| string
| undefined
| SignalLike;
'glyph-orientation-horizontal'?:
| number
| string
| undefined
| SignalLike;
glyphOrientationVertical?:
| number
| string
| undefined
| SignalLike;
'glyph-orientation-vertical'?:
| number
| string
| undefined
| SignalLike;
glyphRef?:
| number
| string
| undefined
| SignalLike;
gradientTransform?: string | undefined | SignalLike;
gradientUnits?: string | undefined | SignalLike;
hanging?:
| number
| string
| undefined
| SignalLike;
horizAdvX?:
| number
| string
| undefined
| SignalLike;
'horiz-adv-x'?:
| number
| string
| undefined
| SignalLike;
horizOriginX?:
| number
| string
| undefined
| SignalLike;
'horiz-origin-x'?:
| number
| string
| undefined
| SignalLike;
ideographic?:
| number
| string
| undefined
| SignalLike;
imageRendering?:
| number
| string
| undefined
| SignalLike;
'image-rendering'?:
| number
| string
| undefined
| SignalLike;
in2?: number | string | undefined | SignalLike;
in?: string | undefined | SignalLike;
intercept?:
| number
| string
| undefined
| SignalLike;
k1?: number | string | undefined | SignalLike;
k2?: number | string | undefined | SignalLike;
k3?: number | string | undefined | SignalLike;
k4?: number | string | undefined | SignalLike;
k?: number | string | undefined | SignalLike;
kernelMatrix?:
| number
| string
| undefined
| SignalLike;
kernelUnitLength?:
| number
| string
| undefined
| SignalLike;
kerning?:
| number
| string
| undefined
| SignalLike;
keyPoints?:
| number
| string
| undefined
| SignalLike;
keySplines?:
| number
| string
| undefined
| SignalLike;
keyTimes?:
| number
| string
| undefined
| SignalLike;
lengthAdjust?:
| number
| string
| undefined
| SignalLike;
letterSpacing?:
| number
| string
| undefined
| SignalLike;
'letter-spacing'?:
| number
| string
| undefined
| SignalLike;
lightingColor?:
| number
| string
| undefined
| SignalLike;
'lighting-color'?:
| number
| string
| undefined
| SignalLike;
limitingConeAngle?:
| number
| string
| undefined
| SignalLike;
local?:
| number
| string
| undefined
| SignalLike;
markerEnd?: string | undefined | SignalLike;
'marker-end'?: string | undefined | SignalLike;
markerHeight?:
| number
| string
| undefined
| SignalLike;
markerMid?: string | undefined | SignalLike;
'marker-mid'?: string | undefined | SignalLike;
markerStart?: string | undefined | SignalLike;
'marker-start'?: string | undefined | SignalLike;
markerUnits?:
| number
| string
| undefined
| SignalLike;
markerWidth?:
| number
| string
| undefined
| SignalLike;
mask?: string | undefined | SignalLike;
maskContentUnits?:
| number
| string
| undefined
| SignalLike;
maskUnits?:
| number
| string
| undefined
| SignalLike;
mathematical?:
| number
| string
| undefined
| SignalLike;
mode?:
| number
| string
| undefined
| SignalLike;
numOctaves?:
| number
| string
| undefined
| SignalLike;
offset?:
| number
| string
| undefined
| SignalLike;
opacity?:
| number
| string
| undefined
| SignalLike;
operator?:
| number
| string
| undefined
| SignalLike;
order?:
| number
| string
| undefined
| SignalLike;
orient?:
| number
| string
| undefined
| SignalLike;
orientation?:
| number
| string
| undefined
| SignalLike;
origin?:
| number
| string
| undefined
| SignalLike;
overflow?:
| number
| string
| undefined
| SignalLike;
overlinePosition?:
| number
| string
| undefined
| SignalLike;
'overline-position'?:
| number
| string
| undefined
| SignalLike;
overlineThickness?:
| number
| string
| undefined
| SignalLike;
'overline-thickness'?:
| number
| string
| undefined
| SignalLike;
paintOrder?:
| number
| string
| undefined
| SignalLike;
'paint-order'?:
| number
| string
| undefined
| SignalLike;
panose1?:
| number
| string
| undefined
| SignalLike;
'panose-1'?:
| number
| string
| undefined
| SignalLike;
pathLength?:
| number
| string
| undefined
| SignalLike;
patternContentUnits?: string | undefined | SignalLike;
patternTransform?:
| number
| string
| undefined
| SignalLike;
patternUnits?: string | undefined | SignalLike;
pointerEvents?:
| number
| string
| undefined
| SignalLike;
'pointer-events'?:
| number
| string
| undefined
| SignalLike;
points?: string | undefined | SignalLike;
pointsAtX?:
| number
| string
| undefined
| SignalLike;
pointsAtY?:
| number
| string
| undefined
| SignalLike;
pointsAtZ?:
| number
| string
| undefined
| SignalLike;
preserveAlpha?:
| number
| string
| undefined
| SignalLike;
preserveAspectRatio?: string | undefined | SignalLike;
primitiveUnits?:
| number
| string
| undefined
| SignalLike;
r?: number | string | undefined | SignalLike;
radius?:
| number
| string
| undefined
| SignalLike;
refX?:
| number
| string
| undefined
| SignalLike;
refY?:
| number
| string
| undefined
| SignalLike;
renderingIntent?:
| number
| string
| undefined
| SignalLike;
'rendering-intent'?:
| number
| string
| undefined
| SignalLike;
repeatCount?:
| number
| string
| undefined
| SignalLike;
'repeat-count'?:
| number
| string
| undefined
| SignalLike;
repeatDur?:
| number
| string
| undefined
| SignalLike;
'repeat-dur'?:
| number
| string
| undefined
| SignalLike;
requiredExtensions?:
| number
| string
| undefined
| SignalLike;
requiredFeatures?:
| number
| string
| undefined
| SignalLike;
restart?:
| number
| string
| undefined
| SignalLike;
result?: string | undefined | SignalLike;
rotate?:
| number
| string
| undefined
| SignalLike;
rx?: number | string | undefined | SignalLike;
ry?: number | string | undefined | SignalLike;
scale?:
| number
| string
| undefined
| SignalLike;
seed?:
| number
| string
| undefined
| SignalLike;
shapeRendering?:
| number
| string
| undefined
| SignalLike;
'shape-rendering'?:
| number
| string
| undefined
| SignalLike;
slope?:
| number
| string
| undefined
| SignalLike;
spacing?:
| number
| string
| undefined
| SignalLike;
specularConstant?:
| number
| string
| undefined
| SignalLike;
specularExponent?:
| number
| string
| undefined
| SignalLike;
speed?:
| number
| string
| undefined
| SignalLike;
spreadMethod?: string | undefined | SignalLike;
startOffset?:
| number
| string
| undefined
| SignalLike;
stdDeviation?:
| number
| string
| undefined
| SignalLike;
stemh?:
| number
| string
| undefined
| SignalLike;
stemv?:
| number
| string
| undefined
| SignalLike;
stitchTiles?:
| number
| string
| undefined
| SignalLike;
stopColor?: string | undefined | SignalLike;
'stop-color'?: string | undefined | SignalLike;
stopOpacity?:
| number
| string
| undefined
| SignalLike;
'stop-opacity'?:
| number
| string
| undefined
| SignalLike;
strikethroughPosition?:
| number
| string
| undefined
| SignalLike;
'strikethrough-position'?:
| number
| string
| undefined
| SignalLike;
strikethroughThickness?:
| number
| string
| undefined
| SignalLike;
'strikethrough-thickness'?:
| number
| string
| undefined
| SignalLike;
string?:
| number
| string
| undefined
| SignalLike;
stroke?: string | undefined | SignalLike;
strokeDasharray?:
| string
| number
| undefined
| SignalLike;
'stroke-dasharray'?:
| string
| number
| undefined
| SignalLike;
strokeDashoffset?:
| string
| number
| undefined
| SignalLike;
'stroke-dashoffset'?:
| string
| number
| undefined
| SignalLike;
strokeLinecap?:
| 'butt'
| 'round'
| 'square'
| 'inherit'
| undefined
| SignalLike<'butt' | 'round' | 'square' | 'inherit' | undefined>;
'stroke-linecap'?:
| 'butt'
| 'round'
| 'square'
| 'inherit'
| undefined
| SignalLike<'butt' | 'round' | 'square' | 'inherit' | undefined>;
strokeLinejoin?:
| 'miter'
| 'round'
| 'bevel'
| 'inherit'
| undefined
| SignalLike<'miter' | 'round' | 'bevel' | 'inherit' | undefined>;
'stroke-linejoin'?:
| 'miter'
| 'round'
| 'bevel'
| 'inherit'
| undefined
| SignalLike<'miter' | 'round' | 'bevel' | 'inherit' | undefined>;
strokeMiterlimit?:
| string
| number
| undefined
| SignalLike;
'stroke-miterlimit'?:
| string
| number
| undefined
| SignalLike;
strokeOpacity?:
| number
| string
| undefined
| SignalLike;
'stroke-opacity'?:
| number
| string
| undefined
| SignalLike;
strokeWidth?:
| number
| string
| undefined
| SignalLike;
'stroke-width'?:
| number
| string
| undefined
| SignalLike;
surfaceScale?:
| number
| string
| undefined
| SignalLike;
systemLanguage?:
| number
| string
| undefined
| SignalLike;
tableValues?:
| number
| string
| undefined
| SignalLike;
targetX?:
| number
| string
| undefined
| SignalLike;
targetY?:
| number
| string
| undefined
| SignalLike;
textAnchor?: string | undefined | SignalLike;
'text-anchor'?: string | undefined | SignalLike;
textDecoration?:
| number
| string
| undefined
| SignalLike;
'text-decoration'?:
| number
| string
| undefined
| SignalLike;
textLength?:
| number
| string
| undefined
| SignalLike;
textRendering?:
| number
| string
| undefined
| SignalLike;
to?: number | string | undefined | SignalLike;
transform?: string | undefined | SignalLike;
u1?: number | string | undefined | SignalLike;
u2?: number | string | undefined | SignalLike;
underlinePosition?:
| number
| string
| undefined
| SignalLike;
'underline-position'?:
| number
| string
| undefined
| SignalLike