1.0.4 • Published 11 months ago

rhybus-sp-people-picker v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

react-sp-people-picker

SharePoint People Picker built for React Projects

NPM JavaScript Style Guide

Install

npm install --save react-sp-people-picker

Usage

import React, { Component } from 'react'

import SpPeoplePicker from 'react-sp-people-picker'
import 'react-sp-people-picker/dist/index.css'

class Example extends Component {
  render() {
    return <SpPeoplePicker onSelect={handleSelect} />
  }
}

You can use the component within your function component as well. Add the following tag into your jsx file.

<SpPeoplePicker onSelect={handleSelect} />

Just implement handleSelect(user) method which gets the selected SP User object as parameter.

License

MIT © itszerocode

1.0.4

11 months ago

1.0.3

11 months ago

1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago