Skip to content

Commit 7cd60a6

Browse files
committed
Fix eslint and font size
1 parent cb29341 commit 7cd60a6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

blogpost-apps/nextjs-form-builder/src/components/FormBuilder.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ function addCustomTheme(theme: ICreatorTheme, userFriendlyThemeName: string) {
3232
addCustomTheme(creatorTheme, 'Custom Theme');
3333

3434
const defaultCreatorOptions: ICreatorOptions = {
35-
showTranslationTab: true
35+
showTranslationTab: true,
36+
showThemeTab: true
3637
};
3738

3839
export default function FormBuilderComponent(props: {
@@ -82,6 +83,7 @@ export default function FormBuilderComponent(props: {
8283
visible: new ComputedUpdater(() => creator.activeTab === 'preview'),
8384
enabled: true,
8485
action: () => {
86+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
8587
const surveyModel = (creator.getPlugin("preview") as any).model.survey as SurveyModel;
8688
savePdf(surveyModel);
8789
}

0 commit comments

Comments
 (0)