-
Notifications
You must be signed in to change notification settings - Fork 4
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
MOON-267: Improve components typings #428
base: develop
Are you sure you want to change the base?
Conversation
*/ | ||
className?: string, | ||
export type MenuItemProps = Omit<ListItemProps, 'onClick' | 'onMouseEnter' | 'onMouseLeave' | 'onKeyPress' | 'typographyVariant'> & { | ||
// Export type MenuItemProps = Omit<React.ComponentPropsWithoutRef<'li'>, 'className' | 'role' | 'onClick' | 'onMouseEnter' | 'onMouseLeave' | 'onKeyPress'> & { |
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.
ok to remove?
Btw, also noticing two different yarn release packages included as well. Not sure if both are needed. |
@@ -4,7 +4,7 @@ import './EmptyCardSelector.scss'; | |||
import {EmptyCardSelectorProps} from './EmptyCardSelector.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 think it's missing type
before {EmptyCardSelectorProps}
@@ -1,7 +1,7 @@ | |||
import * as React from 'react'; | |||
import {RadioItemProps} from '~/components/RadioGroup/RadioItem/RadioItem.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.
missing type
JIRA
https://jira.jahia.org/browse/MOON-267
Description
controlled
anduncontrolled
components