Documentation Index
Fetch the complete documentation index at: https://docs.expoship.dev/llms.txt
Use this file to discover all available pages before exploring further.
There are three types of Button components in ExpoShip codebase
- Primary Button
- Outline Button
- Ghost Button
You can find these buttons at /components folder.
Usage
You can use these buttons like this:
import PrimaryButton from '@/components/PrimaryButton';
import OutlineButton from '@/components/OutlineButton';
import GhostButton from '@/components/GhostButton';
const handlePress = () => alert('Button Pressed!');
export default function button() {
return (
<PrimaryButton onPress={handlePress} title="Save" />
<OutlineButton onPress={handlePress} title="Edit" />
<GhostButton onPress={handlePress} title="Delete" />
)
}