Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/trueberryless-org/trueberryless-org. Landing page for trueberryless-org trueberryless-org.trueberryless.org
Something went wrong. Try again.
12345678910import { toKebabCase } from "./caseUtils";
/** * Gets the full component path for a child component. * Example: "typography/list" + "ListItem" -> "typography/list/list-item" */export function getChildComponentPath(parentPath: string, childName: string): string { return `${parentPath}/${toKebabCase(childName)}`;}