1.0.16 • Published 1 month ago
@soyfri/platform v1.0.16
@soyfri/platform
This package provides pre-built React components, contexts, icons, and utilities for use in your projects. It simplifies development by offering reusable UI elements and helper functions.
Build
At this point, if the dependencies are updated, the whole project can break, be careful.
npm install --legacy-peer-deps
Cretate directory
output-directory/soyfri/platform
npm run build
Installation
npm install @soyfri/platform
Usage
You can import the components, contexts, and utilities as follows:
import { CustomAlert } from '@soyfri/platform/components/CustomAlert';
import { WizardContext } from '@soyfri/platform/context/WizardContext';
import { DocumentIcon } from '@soyfri/platform/icons/DocumentIcon';
import { helpers } from '@soyfri/platform/utils/helpers';
Available Modules
Components
CustomAlert
CustomCard
CustomCardOption
CustomDropzone
CustomFileUpload
CustomInputIcon
CustomModal
CustomMultiSelect
CustomPassword
CustomProfileInfo
CustomSearch
Contexts
WizardContext
Icons
DocumentIcon
CloseIcon
SearchIcon
Utilities
_models.ts
(Type definitions)enums.ts
(Error enums)helpers.ts
(Helper functions)
Contributing
Feel free to submit pull requests or issues on GitHub.
Support
For support, please contact the FRI frontend development team. You can also visit the repository at GitHub.
License
This project is licensed under the MIT License.