Saltar al contenido principal

LinkButton

Un pequeño botón estilo chip que se ajusta al ancho del contenido.

Docusaurus logo

Uso

import React from "react";
import { View, Text } from "react-native";
import { LinkButton } from "@ga-innoval/react-native-ui";

export function Component() {
return <LinkButton text="Ver más" onPress={() => console.log("pressed!")} />;
}

Props

text

Type: string

Texto a mostrarse dentro del botón.

onPress

Type: () => void

Función a ejecutarse al presionar.