/* * Copyright 2026 Hypergiant Galactic Systems Inc. All rights reserved. * This file is licensed to you under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. You may obtain a copy * of the License at https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS * OF ANY KIND, either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ import "client-only"; import { ComponentPropsWithRef } from "react"; import * as react_jsx_runtime42 from "react/jsx-runtime"; //#region src/components/drawer/header.d.ts /** * DrawerHeader - Header region within a DrawerView. * * Supports two usage patterns: * - Use `title` prop for automatic layout with back/close buttons * - Use `children` for custom header content * * Heading level automatically adjusts based on view stack depth * (h2 for root view, h4 for nested views). * * @param props - ComponentPropsWithRef<'header'> * @param props.className - Optional CSS class name. * @param props.title - Title text for the header. * @param props.children - Custom header content (overrides title). * @returns The rendered DrawerHeader component. * * @example * ```tsx * // Simplified with title prop * * ``` * * @example * ```tsx * // Custom layout * * Settings * * *``` */ declare function DrawerHeader({ className, title, children, ...rest }: ComponentPropsWithRef<'header'>): react_jsx_runtime42.JSX.Element; //#endregion export { DrawerHeader }; //# sourceMappingURL=header.d.ts.map