Skip to content
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

Export radio indicator #768

Merged
merged 6 commits into from
Mar 15, 2024
Merged

Export radio indicator #768

merged 6 commits into from
Mar 15, 2024

Conversation

Droniu
Copy link
Member

@Droniu Droniu commented Mar 6, 2024

I want to merge this change because it exports radio indicator, allowing for custom radio group implementations - right now we need radio tiles in the dashboard.

Screenshots

Pull Request Checklist

  • New components are exported from ./src/components/index.ts.
  • The storybook story is created and documentation is properly generated.
  • New component is wrapped in forwardRef.

@Droniu Droniu requested a review from a team as a code owner March 6, 2024 13:08
Copy link

changeset-bot bot commented Mar 6, 2024

🦋 Changeset detected

Latest commit: 68abcaa

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@saleor/macaw-ui Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

vercel bot commented Mar 6, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
macaw-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 15, 2024 10:38am

poulch
poulch previously approved these changes Mar 6, 2024
export const RadioGroupIndicator = forwardRef<
HTMLDivElement,
RadioGroupIndicatorProps
>(({ disabled, asChild }, ref) => {
Copy link
Member

Choose a reason for hiding this comment

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

Question: Won't types be wrong here?

I mean you can use any type from Box but we need to spread the rest of ...props on svg component 🤔

@Droniu Droniu merged commit 512c39b into main Mar 15, 2024
8 checks passed
@Droniu Droniu deleted the merx-56-export-radio-indicator branch March 15, 2024 10:45
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.

3 participants