-
Notifications
You must be signed in to change notification settings - Fork 110
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
fix(Select): #413 #414
fix(Select): #413 #414
Conversation
👷 Deploy Preview for react-daisyui processing.
|
✅ Deploy Preview for react-daisyui ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
👷 Deploy Preview for react-daisyui processing.
|
@@ -11,7 +16,7 @@ export type SelectProps = Omit< | |||
'size' | 'color' | |||
> & | |||
IComponentBaseProps & { | |||
children: ReactElement<SelectOptionProps>[] | |||
children: ListOrItem<ReactElement<SelectOptionProps>> |
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.
awesome!
src/types.ts
Outdated
|
||
export interface IComponentBaseProps { | ||
dataTheme?: DataTheme | ||
} | ||
|
||
export type ComponentColor = typeof componentColors[number] | ||
export type ComponentColor = (typeof componentColors)[number] |
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.
Are these extra () needed?
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.
4f01cbe Fixed in this commit.
I fixed #413