file path above react code example
Example: different ways to write react file paths
Writing a path to a react file/project file
import something from '/thatThing'; this is the current tree
import something from '../thatThing';
import something from '../../thatThing';
dipending on your level of files you should be able to find a way to map through your project files with this tips.