unl editing component added

master
Malar Kannan 2017-06-16 20:32:52 +05:30
parent 8e0bd3e647
commit 7b7f3ab1d3
1 changed files with 19 additions and 2 deletions

View File

@ -115,7 +115,7 @@ class LexMatches extends React.Component<any, any> {
<div> <div>
{this.props.matchedEntries.map((mObj: any) => { {this.props.matchedEntries.map((mObj: any) => {
console.log('Matched ObjectEntry' + mObj); console.log('Matched ObjectEntry' + mObj);
return (<LexEntry key={mObj.unl} lexItem={mObj}/>); return (<LexEntry key={mObj.unl} lexItem={mObj} />);
})} })}
</div> </div>
); );
@ -124,7 +124,24 @@ class LexMatches extends React.Component<any, any> {
class LexEntry extends React.Component<any, any> { class LexEntry extends React.Component<any, any> {
public render() { public render() {
return null; return (
<div className="pt-form-group">
<label className="pt-label" htmlFor="example-form-group-input-a">
UNL
</label>
<div className="pt-form-content">
<input
id="example-form-group-input-a"
className="pt-input"
style={{ width: '300px' }}
placeholder="UNL Value"
value={this.props.lexItem.unl}
type="text"
dir="auto"
/>
</div>
</div>
);
} }
} }