npm.io
2.0.15 • Published 1 week ago

@equinor/fusion-react-person

Licence
ISC
Version
2.0.15
Deps
3
Size
27 kB
Vulns
0
Weekly
0
Stars
9

@equinor/fusion-react-person

Published on npm

Storybook

Fusion Web Component

Installation

npm install @equinor/fusion-react-person

Components

  • PeoplePicker - Pick people from the People API presented as pills or a table.
  • PeopleViewer - View people presented as pills or a table.
  • PersonPicker - Pick a person from the People API presented as a pill or a table. This only lets you pick a single person.
  • PersonAvatar - This component displays a person's image with an account type border and provides detailed information on hover.
  • PersonCard - Use this component to display comprehensive information about a person, including their department, positions, tasks, and current manager.
  • PersonListItem - This component showcases basic information about a person, with the option to add additional buttons.
  • PersonSelect - Searchable dropdown of people in Equinor.
  • PersonCell - Person item used in ag-grid and tables.
  • PersonProvider - Create a custom provider for the person components, used when you need to customize the person search results in resolver.