LinkButton
Un pequeño botón estilo chip que se ajusta al ancho del contenido.
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.