{"size": 445, "ext": "js", "max_stars_repo_path": "frontend/src/components/GuardarPalabras.js", "max_stars_repo_name": "francofgp/Syndeo", "max_stars_repo_stars_event_min_datetime": "2022-01-04T17:38:04.000Z", "max_stars_repo_stars_event_max_datetime": "2022-01-05T12:45:22.000Z", "max_issues_repo_path": "frontend/src/components/GuardarPalabras.js", "max_issues_repo_name": "francofgp/Syndeo", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "frontend/src/components/GuardarPalabras.js", "max_forks_repo_name": "francofgp/Syndeo", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 3, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 19.347826087, "max_line_length": 74, "alphanum_fraction": 0.5730337079}
import React from "react";

function getTexto() {
  var x = document.getElementById("p").innerHTML
 
}

function GuardarPalabras() {
  return (
    <div>
      <center>
        <p id="p">hola</p>
        <input type="button" value="Get Selection" onClick={getTexto()} />
        <form name="testform">
          <textarea id="sel" rows="5" cols="20"></textarea>
        </form>
      </center>
    </div>
  );
}

export default GuardarPalabras;
