Skip to content

Conversation

@mj12albert
Copy link
Member

@mj12albert mj12albert added the component: button Changes related to the button component. label Dec 4, 2025
@pkg-pr-new
Copy link

pkg-pr-new bot commented Dec 4, 2025

  • vite-css-base-ui-example

    pnpm add https://pkg.pr.new/mui/base-ui/@base-ui-components/react@3423
    
    pnpm add https://pkg.pr.new/mui/base-ui/@base-ui-components/utils@3423
    

commit: 74367ec

@mui-bot
Copy link

mui-bot commented Dec 4, 2025

Bundle size report

Bundle Parsed size Gzip size
@base-ui-components/react 0B(0.00%) 0B(0.00%)

Details of bundle changes


Check out the code infra dashboard for more information about this PR.

@netlify
Copy link

netlify bot commented Dec 4, 2025

Deploy Preview for base-ui ready!

Name Link
🔨 Latest commit 74367ec
🔍 Latest deploy log https://app.netlify.com/projects/base-ui/deploys/6931f25cfb47a70008c7c76d
😎 Deploy Preview https://deploy-preview-3423--base-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@mj12albert mj12albert force-pushed the use-button-link-warning branch from 72b9049 to beb4f7e Compare December 4, 2025 20:41
Copy link
Member

@LukasTy LukasTy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense to me. 👍

'A component that acts as a button was rendered as a native <button>, which does not match the default. Ensure that the element passed to the `render` prop of the component is not a real <button>, or set the `nativeButton` prop on the component to `true`.',
);
} else if (elementRef.current.tagName === 'A') {
warn(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WDYT, would error work here as well? 🤔

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

Labels

component: button Changes related to the button component.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants