UNPKG

style-dictionary

Version:

Style once, use everywhere. A build system for creating cross-platform styles.

8 lines (7 loc) 228 B
/** * Returns the path from a path name be splitting the name by separator '.'. * @private * @param {string} pathName * @returns {string[]} - The path */ export default function getPathFromName(pathName: string): string[];