UNPKG

@saas-ui/nprogress

Version:

Nprogress Component

23 lines (19 loc) 804 B
import * as _chakra_ui_react from '@chakra-ui/react'; import { HTMLChakraProps, ThemingProps } from '@chakra-ui/react'; import * as react_jsx_runtime from 'react/jsx-runtime'; interface NProgressOptions { /** * Set to true to start the progress animation. */ isAnimating: boolean; } interface NProgressProps extends NProgressOptions, HTMLChakraProps<'div'>, ThemingProps<'SuiNProgress'> { } /** * Show feedback when switching pages and content is loading in the background. * * @see Docs https://saas-ui.dev/docs/components/feedback/nprogress */ declare const NProgress: _chakra_ui_react.ComponentWithAs<"div", NProgressProps>; declare const NProgressNextRouter: ({ router }: any) => react_jsx_runtime.JSX.Element; export { NProgress, NProgressNextRouter, type NProgressProps };