import { Component } from 'solid-js' ; import Icon from './Icon' ; const Loader = ( ) => ( < div className = "loader" > < div className = "loader__background" / > < Icon name = "loading" / > < /div>); export default Loader ;