Skip to content

Update tabs component API to support icons - #8

Open
fedemarino31 wants to merge 3 commits into
implementTabsfrom
codex/modify-add-method-for-tabs-component
Open

Update tabs component API to support icons#8
fedemarino31 wants to merge 3 commits into
implementTabsfrom
codex/modify-add-method-for-tabs-component

Conversation

@fedemarino31

Copy link
Copy Markdown
Owner

Summary

  • allow ui.add('tabs', …) to receive an array of tab configuration objects and optional active index
  • render optional tab icons before labels and honor per-tab background colors from the configuration
  • update the tabs example to demonstrate the new API

Testing

  • not run (not requested)

https://chatgpt.com/codex/tasks/task_e_68dfc9d36270832f9d3ae66ecb2b939c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant