New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

gd-sprest-react

Package Overview
Dependencies
Maintainers
1
Versions
309
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gd-sprest-react

SharePoint react components.

  • 0.6.9
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
116
decreased by-69.71%
Maintainers
1
Weekly downloads
 
Created
Source

Current Version Downloads Total Downloads

SharePoint 2013/Online Field Components

SharePoint field components using the Office Fabric-UI React framework. This plugin is targeted for SharePoint 2013+ solutions using the React framework.

Override Component Properties

Each component has a "props" property which is the base properties of the Office Fabric React component. For example the text field below can be overriden by doing the following:

<FieldText
    defaultValue={item.Title}
    listName={listName}
    name="Title"
    ref="Title"
    props={{
        // Text field properties go here
        // Reference the ITextFieldProps from the Office Fabric React framework
    }}
/>

Below is a list of fields and their properties

Boolean
  • onChange: (value: boolean) => void
  • props: ICheckboxProps
Choice
  • onChange: (Array) => void
  • props: IDropdownProps
Date/Time
  • dtProps: IDatePickerProps
  • onChange: (value: Date) => void
  • timeProps: IDropdownProps
Lookup
  • getAllItemsFl: boolean
  • onChange: (value: IDropdownOption | Array<string | number>) => void
  • props: IDropdownProps
Number
  • onChange: (value: number) => void
  • props: ITextFieldProps
  • type: FieldNumberTypes
Text
  • onChange: (value:string) => void
  • props: ITextFieldProps
Url
  • descProps: ITextFieldProps
  • onChange: (value:Types.ComplexTypes.FieldUrlValue) => void
  • urlProps: ITextFieldProps
User
  • lblProps: ILabelProps
  • onChange: (value:Array) => void
  • pickerProps: IPeoplePickerProps

Keywords

FAQs

Package last updated on 13 Aug 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc