getNodeLabel

Source
import { getNodeLabel } from "@prestojs/util";
getNodeLabel(item)
Source

Arguments:

ArgumentTypeDescription
*itemany
Returns:React.ReactNode