From c043cdc9b3c63566de5c2dad3d9fb101994bf4eb Mon Sep 17 00:00:00 2001 From: Kate Travers <8152930+ktravers@users.noreply.github.com> Date: Thu, 8 Aug 2024 11:49:08 -0400 Subject: [PATCH] document "hideTitle" prop (#4826) The Banner "overview" docs mention the ability to hide the title visibly (see https://primer.style/components/banner#title), but how to actually implement this in the React component isn't documented. This change adds the correct prop, `hideTitle`, to the documented props for Banner. --- packages/react/src/Banner/Banner.docs.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/react/src/Banner/Banner.docs.json b/packages/react/src/Banner/Banner.docs.json index bb52d3716ce..eb682524e0a 100644 --- a/packages/react/src/Banner/Banner.docs.json +++ b/packages/react/src/Banner/Banner.docs.json @@ -16,6 +16,11 @@ "type": "React.ReactNode", "description": "Provide an optional description for the Banner. This should provide supplemental information about the Banner" }, + { + "name": "hideTitle", + "type": "boolean", + "description": "Whether to hide the title visually." + }, { "name": "icon", "type": "React.ReactNode",