Component docs
Loading
import { Watermark } from "@pixxl-tools/components";
// In Server Components:
import { Watermark } from "@pixxl-tools/components/server";| Prop | Type | Default | Description |
|---|---|---|---|
content (required) | ReactNode | — | — |
contentrequiredReactNode
Other props are passed to the root element (HTMLAttributes<HTMLDivElement>), including className, style, id and aria-* attributes.
<Watermark content="Draft">...</Watermark>