Installation
$ pnpm dlx shadcn@latest add @pdfcn/forme/keep-together
Usage
import { KeepTogether } from "@/components/pdf/keep-together";
import { Text } from "@/components/pdf/text";<KeepTogether>
<Text>Keep these lines together.</Text>
</KeepTogether>API Reference
KeepTogether
| Prop | Type | Default |
|---|---|---|
children | ReactNode | - |
minPresenceAhead | number | - |
style | Style | - |