Skip to content

Commit 09379eb

Browse files
committed
Add 'Try It Out' button to Synthetic Data Settings for demo functionality
1 parent 6b553c1 commit 09379eb

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/components/SyntheticDataSettings.tsx

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,19 @@ export default function SyntheticDataSettings({
236236
</div>
237237

238238
<div className="flex flex-row ml-auto gap-2 hideonprint">
239+
<Button
240+
onClick={event => {
241+
event.preventDefault();
242+
onDemoRun();
243+
return false;
244+
}}
245+
size="sm"
246+
variant={'outline'}
247+
className="gap-1.5 xl:hidden"
248+
disabled={isLoading}
249+
>
250+
{t('syntheticData.form.actions.tryItOut')}
251+
</Button>
239252
<Button
240253
type="submit"
241254
size="sm"

0 commit comments

Comments
 (0)