Outlook_Addin_LLM/node_modules/@fluentui/react-progress
2024-11-29 21:36:41 +01:00
..
dist First version with simple frontend and Compose Email by AI 2024-11-29 21:36:41 +01:00
lib First version with simple frontend and Compose Email by AI 2024-11-29 21:36:41 +01:00
lib-commonjs First version with simple frontend and Compose Email by AI 2024-11-29 21:36:41 +01:00
CHANGELOG.md First version with simple frontend and Compose Email by AI 2024-11-29 21:36:41 +01:00
LICENSE First version with simple frontend and Compose Email by AI 2024-11-29 21:36:41 +01:00
package.json First version with simple frontend and Compose Email by AI 2024-11-29 21:36:41 +01:00
README.md First version with simple frontend and Compose Email by AI 2024-11-29 21:36:41 +01:00

@fluentui/react-progress

React Progress components for Fluent UI React

Usage

To import ProgressBar:

import { ProgressBar } from '@fluentui/react-components';

Examples

const ProgressBarExample = () => {
  return <ProgressBar thickness="large" value={0.5} />;
};

Using Field

The Field component is a wrapper around the ProgressBar component that allows the user to add a label, hint, validationMessage, and validationState to the ProgressBar component. You can pass these props, as well as the regular ProgressBar props to a Field component.

To import Field:

import { Field } from '@fluentui/react-field';
const FieldExample = () => {
  return (
    <Field
      label="Determinate ProgressBar"
      hint="This is a determinate Progress with description"
      value={0.5}
      validationState="warning"
    >
      <ProgressBar />
    </Field>
  );
};