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

Add index.ts to components and refactor imports #7

Merged
merged 1 commit into from
Aug 17, 2023
Merged

Add index.ts to components and refactor imports #7

merged 1 commit into from
Aug 17, 2023

Conversation

RoachxD
Copy link
Contributor

@RoachxD RoachxD commented Aug 15, 2023

This Pull Request addresses issue #5 by adding an index.ts file to the components folder that exports all the components. This simplifies importing them in other files and makes the code more consistent and maintainable.

In addition, the libraries index.ts file has been refactored to import from the components folder instead of each individual component file, like this:

export * from './components';

In addition to that, the I18nOptions has been exported as it's being used by the createI18n function.

This change should make it easier to work with the components and improve the overall code quality. Please let me know if you have any feedback or suggestions. Thank you! 😊

- Created `index.ts` file for `components`.
- Updated main `index.ts` in order to reflect the addition.
- Added `I18nOptions` type export.
@SanichKotikov SanichKotikov merged commit 2935c2a into SanichKotikov:master Aug 17, 2023
1 check passed
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.

2 participants