Masahiro Okubo

React + fontawesomeでぐるぐるloading実装

React + fontawesomeでぐるぐるloading実装
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import { faCircleNotch } from "@fortawesome/free-solid-svg-icons";

const Loading = () => (
   <FontAwesomeIcon icon={ faCircleNotch } spin size="2x"/>
);

これでぐるぐるを実装できます


関連記事

copyright© 2016-2021 Masahiro Okubo