1.0.6 • Published 6 months ago
infinitysys-solutions v1.0.6
🌟 InfinitySys Solutions Library
Welcome to InfinitySys Solutions! This library provides a collection of reusable components to facilitate the development of your applications. Each component is carefully designed to be easy to use.
🛠️ Installation
To install the library, use npm or yarn:
npm install infinitysys-solutions
# OR
yarn add infinitysys-solutions
📚 Componentes
- 🎨 Style Component
- 🖼️ ImageUploader Component
🎨 Style Component
O Style component permite adicionar estilos personalizados às suas modais.
🚀 Quick Use
import { Style } from 'my-ts-components';
const style = new Style('#3498db');
document.head.innerHTML += style.html;
📋 Propriedades
color (string): A cor principal para os estilos.
🖼️ ImageUploader Component
O ImageUploader component facilita o upload de imagens com suporte a pré-visualização.
🛠️ Modo de Uso
import { ImageUploader } from 'my-ts-components';
const uploader = new ImageUploader({
onUpload: (file) => console.log('Imagem carregada:', file),
});
document.body.appendChild(uploader.render());
📋 Propriedades
onUpload (Function): Função chamada quando uma imagem é carregada.
📝 License
This project is licensed under the MIT License. See the LICENSE file for more details.
🤝 Contributions
Contributions are welcome! Feel free to open issues and pull requests.
Made with ❤️ by InfinitySYS