API / @aionbuilders/nabu

PlaceholderText

Type Stability: stable

A string, false (no placeholder) or a function of the block returning one of those.

Definition

TypeScript
import type { PlaceholderText } from '@aionbuilders/nabu';
TypeScript
type PlaceholderText = string | false | ((block: any) => string | false)

Source: src/lib/utils/placeholders.js:12