# BadgeRenderProps (@salmonui/notifications/badge)

> The BadgeRenderProps type of @salmonui/notifications/badge: Props render receives: class name, data-* hooks, style, every other DOM prop, ref and children. Spread all of them onto the returned element.

Canonical: https://salmonui.dev/docs/reference/notifications/badge/BadgeRenderProps

```ts
import type { BadgeRenderProps } from '@salmonui/notifications/badge';
```

Entry index: https://salmonui.dev/docs/reference/notifications/badge (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/notifications/badge.md).

## Reference

Kind: type

```ts
type BadgeRenderProps = HTMLAttributes<HTMLElement> & {
    ref?: Ref<never> | undefined;
    [dataAttribute: `data-${string}`]: string | number | undefined;
};
```

Props `render` receives: class name,
`data-*` hooks, `style`, every other DOM prop, `ref` and `children`.
Spread all of them onto the returned element.

Members (1):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `ref` | `ref?: Ref<never>;` | optional, inherited |  |
