Skip to content

Conversation

@RodrigoRafaelSantos7
Copy link

@RodrigoRafaelSantos7 RodrigoRafaelSantos7 commented Oct 31, 2025

Fixes #8667

The EmptyDescription component was typed to accept React.ComponentProps<"p"> but renders a

element. This type mismatch could lead to confusion and potential type errors if paragraph-specific props are passed.

Changed the type definition to React.ComponentProps<"div"> to match the actual rendered element.

The EmptyDescription component was typed to accept React.ComponentProps<"p">
but renders a <div> element. This type mismatch could lead to confusion and
potential type errors if paragraph-specific props are passed.

Changed the type definition to React.ComponentProps<"div"> to match the
actual rendered element.
@vercel
Copy link

vercel bot commented Oct 31, 2025

@RodrigoRafaelSantos7 is attempting to deploy a commit to the shadcn-pro Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[bug]: Type mismatch between props and rendered element.

1 participant