{"size": 362, "ext": "js", "max_stars_repo_path": "lib/components/DSInputText.js", "max_stars_repo_name": "ogonzal87/oskrhq-design-system", "max_stars_repo_stars_event_min_datetime": "2018-05-03T21:31:34.000Z", "max_stars_repo_stars_event_max_datetime": "2022-02-04T21:48:36.000Z", "max_issues_repo_path": "lib/components/DSInputText.js", "max_issues_repo_name": "ogonzal87/oskrhq-design-system", "max_issues_repo_issues_event_min_datetime": "2018-05-02T02:28:42.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-10T17:13:45.000Z", "max_forks_repo_path": "lib/components/DSInputText.js", "max_forks_repo_name": "ogonzal87/oskrhq-design-system", "max_forks_repo_forks_event_min_datetime": "2018-05-02T01:30:01.000Z", "max_forks_repo_forks_event_max_datetime": "2022-02-07T07:29:25.000Z"}
{"max_stars_count": 54, "max_issues_count": 5, "max_forks_count": 8, "avg_line_length": 30.1666666667, "max_line_length": 89, "alphanum_fraction": 0.6657458564}
import React from 'react';
import '../../lib/styles/styles.scss';

const DSInputText = ({ label, ...rest }) => (
  <div className="ds-input-text-container">
    <label className="ds-body2-text-style ds-input-label">{label}</label>
    <input className="ds-input-field ds-body1-text-style" {...rest} aria-label={label} />
  </div>
);

export default DSInputText;
