#Hw to use component.
16 messages · Page 1 of 1 (latest)
- This is not a Mantine component.
- The error clearly states what's wrong.
I'm a newbie. and i'm working with a mantine component.
i'm trying to import the component to app.tsx
I guess you took the code from ui.mantine.dev?
yeah that's from UI
That's not Mantine components.
basically react has a concept of props @surreal arrow
you need to supply a prop to HeaderAction
so it will look sort of like
<HeaderAction links={[]} />
and within that array you define the links, or you can use a variable
you can see in the HeaderAction file there should be a type definition
yes