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

fix(react): Make RadioItem public #1668

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Commits on Sep 10, 2024

  1. fix(react): Make RadioItem public

    An application I'm working on requires using the `RadioItem` type directly, but the type is not exported from the package's entrypoint. This patch makes `RadioItem` part of the public API.
    
    Previously, to get access to `RadioItem`, users would have to:
    
    ```ts
    import {RadioItem} from "@deque/cauldron-react/lib/components/RadioGroup"
    ```
    
    This is brittle (will break if we rename files/etc.) and doesn't look nearly as nice.
    stephenmathieson authored Sep 10, 2024
    Configuration menu
    Copy the full SHA
    dc88ad5 View commit details
    Browse the repository at this point in the history