@motion-script/core / sizeProperty
Variable: sizeProperty
constsizeProperty: (opts?) => (target,propertyKey) =>void
Defined in: attributes/properties/typed.ts:211
A size property: a pixel number or the 'fill' / 'hug' layout keywords,
tweened the way width/height are (keywords snap; numbers interpolate).
Parameters
opts?
AttributePropOptions<SizeInput, SizeInput>
Returns
(target, propertyKey) => void