CSS

Returns css classes in string

css()

Import

import { css } from '@bprogress/react';

Type

function css(options: CssOptions): string;

CssOptions

NameTypeDescription
colorstringColor of the text
heightstringHeight of the element
spinnerPositionSpinnerPositionPosition of the spinner

SpinnerPosition

NameDescription
top-leftSpinner at the top left
top-rightSpinner at the top right
bottom-leftSpinner at the bottom left
bottom-rightSpinner at the bottom right

On this page