feat(ui): Action playground config and parameter forms (#129)

This commit is contained in:
Richard Palethorpe
2025-04-03 14:26:14 +01:00
committed by GitHub
parent ffee9d8307
commit 1eee5b5a32
3 changed files with 101 additions and 141 deletions

View File

@@ -1,5 +1,5 @@
import { useState } from 'react'
import { Outlet, Link } from 'react-router-dom'
import { Outlet, Link, useOutletContext } from 'react-router-dom'
import './App.css'
function App() {
@@ -19,6 +19,9 @@ function App() {
setMobileMenuOpen(!mobileMenuOpen);
};
// Provide showToast to children
const context = { showToast };
return (
<div className="app-container">
{/* Navigation Menu */}
@@ -110,7 +113,7 @@ function App() {
{/* Main Content Area */}
<main className="main-content">
<div className="container">
<Outlet context={{ showToast }} />
<Outlet context={context} />
</div>
</main>