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

[Request] type export for each sub-component #174

Open
Moon-Sangho opened this issue Nov 7, 2024 · 0 comments
Open

[Request] type export for each sub-component #174

Moon-Sangho opened this issue Nov 7, 2024 · 0 comments

Comments

@Moon-Sangho
Copy link

In my project, there is a component that standardizes the design by wrapping the components provided by the react-modal-sheet library.
In version 2.2.1, the types of each sub-component were exported, so I could use them like the code block below. I would appreciate it if you could export the types of the subcomponents again.
Thank you.

...

import {
  SheetBackdropProps,
  SheetContainerProps,
  SheetProps,
} from 'react-modal-sheet/dist/types';

type BottomSheetProps = Readonly<SheetProps & {
    containerProps?: SheetContainerProps;
    backdropProps?: SheetBackdropProps;
    ...
}
@Moon-Sangho Moon-Sangho changed the title Request type export for each sub-component [Request] type export for each sub-component Nov 7, 2024
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

No branches or pull requests

1 participant