pashto-grammar/src/components/terms-links.tsx

25 lines
801 B
TypeScript
Raw Normal View History

import Link from "./Link";
export function NP({ text }: { text: string}) {
return <Link to="/phrase-structure/np">{text || "NP"}</Link>;
}
export function AP({ text }: { text: string}) {
return <Link to="/phrase-structure/ap">{text || "AP"}</Link>;
}
export function VP({ text }: { text: string}) {
return <Link to="/phrase-structure/vp">{text || "VP"}</Link>;
}
export function EP({ text }: { text: string}) {
return <Link to="/phrase-structure/ep">{text || "EP"}</Link>;
}
export function KidsSection({ text }: { text: string}) {
2022-06-27 21:01:56 +00:00
return <Link to="/phrase-structure/blocks-and-kids/#the-kids-section">{text || "kids' section"}</Link>;
}
export function MiniPronoun({ text }: { text: string}) {
return <Link to="/pronouns/pronouns-mini">{text || "mini-pronoun"}</Link>;
}