UNPKG

@stianlarsen/react-ui-kit

Version:

A versatile React UI kit focused on delivering ready-to-use, customizable buttons for every use case. Designed to save developers time and streamline UI development, this kit offers a range of button styles and loaders, ensuring immediate integration and

8 lines (7 loc) 295 B
import { jsx as _jsx } from "react/jsx-runtime"; import "../../styles/global.css"; import "./css/loader.css"; export const Loader = ({ widthAndHeight, }) => { const width = widthAndHeight || "1em"; return _jsx("div", { className: "loader ", style: { width: width, height: width } }); };