-
Notifications
You must be signed in to change notification settings - Fork 321
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: changed proptype from string
/IconSubComponentProps
to SubIcon
#2026
Conversation
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.
Great! can you please change to a relative path?
I'm not sure it would build fine with the current impl
@@ -12,6 +12,7 @@ import Text from "../../Text/Text"; | |||
import Heading from "../../Heading/Heading"; | |||
import Flex from "../../Flex/Flex"; | |||
import styles from "./ModalHeader.module.scss"; | |||
import { SubIcon } from "src/types"; |
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.
I'm not sure how it behaves
Can you, for the meantime, change it to a relative path? same as other imports in the file? (../../../types
)
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.
Sure @YossiSaadi, allow me some time I'll raise another PR.
import VibeComponentProps from "../../../types/VibeComponentProps"; | ||
import { IconType } from "../../Icon/IconConstants"; | ||
import { ComponentDefaultTestId, getTestId } from "../../../tests/test-ids-utils"; | ||
import styles from "./Tab.module.scss"; | ||
import { SubIcon } from "src/types"; |
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.
Same
Can you change it to a relative path? same as other imports in the file? (../../../types
)
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.
Sure @YossiSaadi, allow me some time I'll raise another PR.
no need for another PR, you can commit another commit to this PR :) |
resolves #2025 |
@YossiSaadi done :) |
string
/IconSubComponentProps
to SubIcon
hope you don't mind, I've made a little change to the title :)
Let's see how the CI goes and then we'll be able to merge. |
Thank you so much @YossiSaadi for
Thank you so much @YossiSaadi for addressing this. :) |
Basic
npm run plop
) to create a new component.Style
NewComponent.modules.scss
file inside theNewComponent
folder.Storybook
/src/components/NewComponent/__stories__/NewComponent.mdx
file.Tests
Accessibility