mirror of
https://git.um-react.app/um/um-react.git
synced 2026-11-25 14:56:58 +00:00
4 lines
84 B
TypeScript
4 lines
84 B
TypeScript
export function getFileName(path: string) {
|
|
return path.replace(/.*[\\/]/, '');
|
|
}
|