UNPKG

style-dictionary

Version:

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

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