// We need to use `require` instead of `import` // They also must be assigned to a variable/constant const logoSVG = require('../static/logo.svg') const logoPNG = require('../static/logo.png') const txt = require('../static/file.txt') export default () => (
{txt}
Logo SVG
{logoSVG}
Logo PNG
{logoPNG}
)