The measure() API
Measure the node layout without rendering it.
This functionality is useful if you want to get the node layout for further calculations.
import { } from "takumi-js/node";
import { } from "takumi-js/helpers/jsx";
const = new ();
const { , } = await (< ="text-xl">I'm a text node</>);
const { , } = await .(, { });Edit on GitHub
Last updated on