1.0.5 • Published 7 months ago
react-library-test-entel v1.0.5
React Component: Button
Button
es un componente de React diseñado para representar un botón.
📦 Instalación
Con npm:
npm i react-library-test-entel
🚀 Uso
import { Button } from "react-library-test-entel";
function App() {
return;
<Button
href="https://www.entel.cl"
className="eds-btn-primary"
texto="Haz click"
texto2="en mi"
/>;
}
⚙️ Props
Propiedad | Tipo | Descripción |
---|---|---|
href | enlace | indica el enlace del button |
className | string | clases para añadir estilos |
texto | string | primer texto del button |
texto2 | string | segundo texto del button |