
### dataHook
- type: string
- description: Applies a data-hook HTML attribute that can be used in tests.
### className
- type: string
- description: Specifies a CSS class name to be appended to the component’s root element.
- internal
### zIndex
- type: number
- description: Controls the z-index of the component.
- default: 1
### position
- type: "static" | "sticky"
- description: Determines if the top banner stays fixed at the top of its container.
- default: static
### dismissible
- type: boolean
- description: Determines whether the top banner should render a dismiss button.
- default: true
### dismissLabel
- type: string
- description: Aria label for the dismiss button.
### action
- type: ReactNode
- description: An action component to display in the top banner. The component can be one of these types:
Can be either:
- `<TopBanner.ActionButton/>`
- `<TopBanner.ActionLink/>`
- custom
### onDismiss
- type: (event: MouseEvent<Element, MouseEvent>) => void
- description: Callback function called whenever the user clicks the dismiss button.
### children
- type: ReactNode
- description: The main content of the top banner.

