Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Button component with animated shine effect
npm install react-native-reanimated expo-linear-gradient
import ShinyButton from '@/components/common/buttons/shiny-button';
onPress
() => void
bgColor
string
buttonColor
loading
boolean
false
disabled
title
titleType
ThemedTextProps['type']
'default'
height
number
BUTTON_HEIGHT.md
width
number | string
'100%'
function Example() { return ( <ShinyButton onPress={() => console.log('Pressed')} buttonColor="#1DB954" title="Shiny Button" height={50} width={200} /> ); }
Was this page helpful?