Skip to content
This repository was archived by the owner on Nov 3, 2024. It is now read-only.

Export AuthCodeProps type #47

Closed
wants to merge 1 commit into from
Closed

Conversation

heldr
Copy link

@heldr heldr commented May 27, 2022

Expose AuthCodeProps type to allow component to be wrapped.

@@ -58,7 +58,7 @@ const propsMap: { [key: string]: InputProps } = {
}
};

const AuthCode = forwardRef<AuthCodeRef, Props>(
export const AuthCode = forwardRef<AuthCodeRef, AuthCodeProps>(
Copy link
Owner

Choose a reason for hiding this comment

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

Hi @heldr, why would you want to have this named export besides the default?

Copy link
Author

Choose a reason for hiding this comment

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

Copy link
Owner

Choose a reason for hiding this comment

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

Hi @heldr I just merged #49 with the component props exported, for doing a named export instead of default I will need to take a closer look, so I didn't make the change in this PR

@drac94
Copy link
Owner

drac94 commented Jun 7, 2022

Changes applied in #49

@drac94 drac94 closed this Jun 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants