1.1.2 • Published 3 years ago

@bee365/manufacturer-link v1.1.2

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

Manufacturer Link for SharePoint Property Pane

This is a property pane control for adding a manufacturer link to the property pane of a webpart.

Get Started

  • Add the dependency to your webpart project
npm install --save @bee365/manufacturer-link
  • Import the control in your webpart and add it to the
import { PropertyPaneManufacturerLink } from '@bee365/manufacturer-link';

export default class MyWebPart extends BaseClientSideWebPart<IMyWebPartProps> {
  protected getPropertyPaneConfiguration(): IPropertyPaneConfiguration {
    return {
      pages: [{
        groups: [{
          groupFields: [
            PropertyPaneManufacturerLink('manufacturer', {
              text: 'a product of contoso',
              href: 'https://www.contoso.com',
              target: '_blank',
              pinToBottom: true,
            }),
          ],
        }],
      }],
    };
  }
}

How to build the package

# install require packages
npm install

# clean and build
gulp clean
gulp build --ship