Added tabs components and refactored stuff to work properly with composed / nested elements etc...
All checks were successful
Build, Test, and Publish (to Private NPM Registry) UI Components Library / publish (push) Successful in 58s
All checks were successful
Build, Test, and Publish (to Private NPM Registry) UI Components Library / publish (push) Successful in 58s
This commit is contained in:
parent
1c2d794a18
commit
d2e99cc280
27 changed files with 1579 additions and 145 deletions
|
|
@ -21,6 +21,13 @@ app.get('/test/drawer', (req: Request, res: Response) => {
|
|||
res.render('drawer');
|
||||
});
|
||||
|
||||
app.get('/test/tabs', (req: Request, res: Response) => {
|
||||
const toggleUnderline = typeof req.query.toggleUnderline === 'string' ? req.query.toggleUnderline === 'true' : false;
|
||||
const toggleFilled = typeof req.query.toggleFilled === 'string' ? req.query.toggleFilled === 'true' : false;
|
||||
//console.log('Toggled values:', { toggleUnderline, toggleFilled });
|
||||
res.render('tabs', { toggleUnderline, toggleFilled });
|
||||
});
|
||||
|
||||
app.listen(3080, () => {
|
||||
console.log('Test server running on http://localhost:3080');
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue