-
-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(core): package direction #263
Conversation
Thank you for following the naming conventions! 🙏 |
After checking this, let's ask to write a test if everything is correct @dammy001 |
const DirectionProvider = defineComponent({ | ||
name: 'DirectionProvider', | ||
props: { | ||
dir: { type: String as () => Direction, required: true }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dir: { type: String as () => Direction, required: true }, | |
dir: { type: String as PropType<Direction>, required: true }, |
@@ -0,0 +1,35 @@ | |||
import { defineComponent, inject, provide } from 'vue' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
import { defineComponent, inject, provide } from 'vue' | |
import { defineComponent, inject, provide, type PropType } from 'vue' |
@ramzzo can you add a few tests for this? |
I have not written a test before, but I would like to try it. |
❤️ |
close #243