Fix tooltip component expecting direction to be a number instead of string

This commit is contained in:
thepaperpilot 2022-05-01 14:59:35 -05:00
parent 7eaae981d8
commit 75fde0f099

View file

@ -69,7 +69,7 @@ export default defineComponent({
}, },
style: processedPropType<StyleValue>(Object, String, Array), style: processedPropType<StyleValue>(Object, String, Array),
classes: processedPropType<Record<string, boolean>>(Object), classes: processedPropType<Record<string, boolean>>(Object),
direction: processedPropType<Direction>(Number), direction: processedPropType<Direction>(String),
xoffset: processedPropType<string>(String), xoffset: processedPropType<string>(String),
yoffset: processedPropType<string>(String), yoffset: processedPropType<string>(String),
pinned: Object as PropType<Persistent<boolean>> pinned: Object as PropType<Persistent<boolean>>