File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed
Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -774,6 +774,27 @@ You can configure up to 3 buttons as a custom module. Each button accepts a call
774774</IgniteProvider>
775775```
776776
777+ Single button example:
778+
779+ ```typescript
780+ <IgniteProvider
781+ options={{
782+ apiKey: API_KEY,
783+ clientName: CLIENT_NAME,
784+ primaryColor: PRIMARY_COLOR
785+ }}
786+ customModules={{
787+ button1: {
788+ enabled: true,
789+ title: 'My Button 1',
790+ callback: () => console.log('Button 1 called!'),
791+ },
792+ }}
793+ >
794+ <App />
795+ </IgniteProvider>
796+ ```
797+
777798| iOS | Android|
778799| ------ | ------ |
779800| <img src="docs/assets/custom-modules/ios-single-button.png" width="150"> | <img src="docs/assets/custom-modules/android-single-button.png" width="150"> |
You can’t perform that action at this time.
0 commit comments