Skip to content

Commit 015f8fa

Browse files
committed
refactor: streamline modal button styles and ensure config editor visibility in Embedded component
1 parent 7de5d61 commit 015f8fa

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

example/src/components/Embedded/Embedded.styles.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const styles = StyleSheet.create({
3636
height: 220,
3737
},
3838
modalButton,
39-
modalButtons: modalButtons,
39+
modalButtons,
4040
modalContent,
4141
modalOverlay,
4242
subtitle: { ...subtitle, textAlign: 'center' },

example/src/components/Embedded/Embedded.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ export const Embedded = () => {
6969
setConfigJson(
7070
viewConfig ? JSON.stringify(viewConfig, null, 2) : DEFAULT_CONFIG_JSON
7171
);
72+
setConfigEditorVisible(true);
7273
}, [viewConfig]);
7374

7475
const applyConfig = useCallback(() => {

0 commit comments

Comments
 (0)