Skip to content

Conversation

@cameo-js
Copy link
Contributor

@cameo-js cameo-js commented Oct 8, 2025

Description

This PR fixes incorrect field names in the theming customization documentation. The documentation was using customButtonLeft and customButtonRight, but the actual TypeScript interface uses leftAction and rightAction.

Changes

  • Updated all instances of customButtonLeft to leftAction in the documentation
  • Updated all instances of customButtonRight to rightAction in the documentation
  • Aligned documentation examples with the actual TypeScript interface

Before

header: {
  customButtonLeft: {
    icon: "settings-cog",
    onClick: () => alert("Profile settings"),
  },
  customButtonRight: {
    icon: "home",
    onClick: () => openHomePage(),
  },
}

After

header: {
  leftAction: {
    icon: "settings-cog",
    onClick: () => alert("Profile settings"),
  },
  rightAction: {
    icon: "home",
    onClick: () => openHomePage(),
  },
}

Fixes #25

@weedon-openai
Copy link
Contributor

Thank you for all these docs fixes!

@weedon-openai weedon-openai merged commit 2631491 into openai:main Oct 9, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Documentation shows incorrect field names for header custom buttons

2 participants