1.0.16 • Published 6 months 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-depsCretate directory
output-directory/soyfri/platformnpm run buildInstallation
npm install @soyfri/platformUsage
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
CustomAlertCustomCardCustomCardOptionCustomDropzoneCustomFileUploadCustomInputIconCustomModalCustomMultiSelectCustomPasswordCustomProfileInfoCustomSearch
Contexts
WizardContext
Icons
DocumentIconCloseIconSearchIcon
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.