Skip to the content

Bushu部首

Choose the parts you can see in a kanji, intersect their matches, and add a radical picker to your page.

Bushu is the Japanese word 部首 for a kanji radical. About the name

Contents

Reference · Native radical picker

bushuSayfunction

A line in a language, with its {name} values filled in, and its One form when n is 1.

Import it

import { bushuSay } from "@johnmorrisdotca/bushu/picker";

Definition

function bushuSay(language: BushuLanguage, key: string, values?: Record<string, string | number>): string

Parameters

NameTypeDescription
languageBushuLanguage

The native English or Japanese picker language.

keystring

The native localized-message key, such as found.

values (optional)Record<string, string | number>

Replacement values for brace-delimited native message placeholders.

Returns

string

A line in a language, with its {name} values filled in, and its One form when n is 1.

Examples

import { bushuSay } from "@johnmorrisdotca/bushu/picker";

console.log(bushuSay("en","found",{n:2}));
2 kanji hold all of these parts.

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/bushu 1.1.0.