import React , { FC , memo } from 'react' ; import clsx from 'clsx' ; import { Icon , IconType } from '@thenewboston/ui' ; import './Loader.scss' ; interface ComponentProps { className ? : string ; } const Loader = ( { className } ) => { return < Icon className = { clsx ( 'Loader' , className ) } icon = { IconType . loading } size = { 15.35 } dataTestId = "Loader" / > ; } ; export default memo ( Loader ) ;