Private
Public Access
1
0
Files
power-apps-codeapps-blog-part2/node_modules/@fluentui/react-progress/lib/components/ProgressBar/ProgressBar.js

16 lines
727 B
JavaScript

'use client';
import * as React from 'react';
import { useProgressBar_unstable } from './useProgressBar';
import { renderProgressBar_unstable } from './renderProgressBar';
import { useProgressBarStyles_unstable } from './useProgressBarStyles.styles';
import { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';
/**
* A ProgressBar bar shows the progression of a task.
*/ export const ProgressBar = /*#__PURE__*/ React.forwardRef((props, ref)=>{
const state = useProgressBar_unstable(props, ref);
useProgressBarStyles_unstable(state);
useCustomStyleHook_unstable('useProgressBarStyles_unstable')(state);
return renderProgressBar_unstable(state);
});
ProgressBar.displayName = 'ProgressBar';