Component
RepeatChildren
It gives a public component API to the act of writing the same child twice, because one copy was apparently insufficient.
01 / Preview
Try it yourself.
AgainAgain
02 / Usage
Put it somewhere.
example.tsxTSX
import { RepeatChildren } from "gra-ui";
export function Example() {
return (
<RepeatChildren>
<span>Again</span>
</RepeatChildren>
);
}03 / API
Small surface area.
PropTypeDescription
childrenReactElementThe element rendered twice.