import * as React from 'react' ; import styles from './sharePointComponents.module.scss' ; import { UrlFieldComponent , IUrlFieldComponentProps , IUrlFieldComponentState } from './UrlFieldComponent' ; import { TextField } from 'office-ui-fabric-react' ; export interface IItemUrlFieldEditorProps extends IUrlFieldComponentProps { } export interface IItemUrlFieldEditorState extends IUrlFieldComponentState { } export default class ItemUrlFieldEditor extends UrlFieldComponent < IItemUrlFieldEditorProps , IItemUrlFieldEditorState > { public render ( ) { return ( < div className = { styles . sharePointComponent } > < TextField value = { this . url } onChange = { this . _urlChanged } / > < TextField value = { this . description } onChange = { this . _descriptionChanged } / > < /div>); } }