/* * 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 { BadgeProps } from "./types.js"; import "client-only"; import * as react_jsx_runtime5 from "react/jsx-runtime"; //#region src/components/badge/index.d.ts /** * Small status indicator for labels, counts, and notifications. * Empty badges render as dot indicators. * * @param props - The badge props. * @param props.ref - Reference to the span element. * @param props.className - Additional CSS class names for styling. * @param props.color - Semantic color variant. * @param props.offset - Offset from positioned edge in pixels. * @param props.placement - Position relative to container. * @param props.children - Badge content (text, number, or empty for dot). * @returns The badge span element. * * @example * ```tsx * New * ``` * * @example * ```tsx * // Color variants * Active * Pending * Error * ``` * * @example * ```tsx * // Dot indicator (no children) * * ``` * * @example * ```tsx * // Positioned badge * 3 * ``` */ declare function Badge({ ref, ...props }: BadgeProps): react_jsx_runtime5.JSX.Element; //#endregion export { Badge }; //# sourceMappingURL=index.d.ts.map