-
Beta Was this translation helpful? Give feedback.
Answered by
Seigiard
Oct 4, 2024
Replies: 1 comment
-
|
Okay, I've found it our with help of Need to update import { alert } from 'styled-system/recipes'
export const Root = withProvider<
HTMLDivElement,
Assign<HTMLStyledProps<'div'>, PolymorphicProps>
>(ark.div, 'root')to import { type AlertVariantProps, alert } from 'styled-system/recipes'
export const Root = withProvider<
HTMLDivElement,
Assign<Assign<HTMLStyledProps<'div'>, PolymorphicProps>, AlertVariantProps> // <- !!!!
>(ark.div, 'root')Pay attention to added |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Seigiard
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Okay, I've found it our with help of
cardcomponent.Need to update
Roottypes inalert.tsxfromto
Pay attention to added
AlertVariantProps— it does all work.