react18-tools/turborepo-template

View on GitHub
lib/src/server/dots/dots2/dots2.tsx

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
import styles from "./dots2.module.scss";
import { Base, BaseProps } from "../../common";

interface Dots2Props extends BaseProps {
  /** Radius of the dots in pixels or a string with a length unit. */
  dotRadius?: number | string;
}

/**
 * A simple loader with 3 dots.
 *
 * @example
 * <Dots2 />
 *
 * @source
 */
export function Dots2(props: Dots2Props) {
  return <Base {...props} loaderClass={styles.loader} />;
}