-
Notifications
You must be signed in to change notification settings - Fork 22
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
Component<_>
is not implemented for fn(IconProps<_>) -> Result<VNode, RenderError> {Icon::<_>}
#57
Comments
This is because dioxus-free-icons's dioxus and your dioxus (alpha.4) don't match. Can you try with #55 ? |
Yeah, already tried it dioxus-free-icons = { git = "https://github.com/dioxus-community/dioxus-free-icons.git", branch = "feat/dioxus-0.6", features = ["hero-icons-solid"] } |
Try updating with |
I've seen. This is the # monorepo only work when using virtual manifest
# see: https://github.com/rust-lang/cargo/issues/7467#issuecomment-867632379
[workspace]
resolver = "2"
members = [
"packages/codegen",
"packages/example",
"packages/lib",
]
[workspace.dependencies]
dioxus = "0.6.0-alpha.4"
|
Component<_>
is not implemented for `fn(IconProps<_>) -> Result<VNode, RenderError> {Icon::<_>}Component<_>
is not implemented for fn(IconProps<_>) -> Result<VNode, RenderError> {Icon::<_>}
But did you run |
Yes, of course. |
Well, I just created a project from scratch and everything compiled. I'm so sorry for wasting your time. Thank for your patience! |
This error shows up on
0.6.0-alpha.4
version, simple adding#[component]
topub fn Icon<T>
isn't workingThe text was updated successfully, but these errors were encountered: