SsoButton specializes Button with the outline variant, an icon, and an accessibility label.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Trigger a single sign-on flow with a leading Ionicons glyph
SsoButton specializes Button with the outline variant, an icon, and an accessibility label.
import { SsoButton } from '@amisi-mobile-starter/ui';
export const GoogleSignIn = () => (
<SsoButton
iconName="logo-google"
label="Continue with Google"
onPress={() => {}}
/>
);
| Prop | Type | Default | Description |
|---|---|---|---|
iconName | React.ComponentProps<typeof Ionicons>['name'] | Required | Leading Ionicons glyph name. |
label | string | Required | Visible text and accessibility label. |
onPress | () => void | Required | Runs after an enabled press. |
isDisabled | boolean | false | Disables the button and blocks onPress. |
size | 'sm' | 'md' | 'lg' | 'md' | Button size. |
Was this page helpful?