{"size": 698, "ext": "js", "max_stars_repo_path": "dist/lib/FormRow/FormRow.js", "max_stars_repo_name": "vm-bachelor-thesis/directions-components", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "dist/lib/FormRow/FormRow.js", "max_issues_repo_name": "vm-bachelor-thesis/directions-components", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "dist/lib/FormRow/FormRow.js", "max_forks_repo_name": "vm-bachelor-thesis/directions-components", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 38.7777777778, "max_line_length": 120, "alphanum_fraction": 0.6518624642}
import React from 'react';
import { StyleSheet } from 'react-native';
import { View, Text } from '../..';
import { templates } from './templates';
export var FormRow = function (_a) {
    var title = _a.title, inputComponent = _a.inputComponent, _b = _a.wideTitle, wideTitle = _b === void 0 ? false : _b;
    var inputViewStyle = StyleSheet.flatten([
        templates.inputView,
        wideTitle && templates.inputViewNarrow,
    ]);
    return (<View style={templates.containerView}>
      <View style={templates.titleView} padding="right">
        <Text>{title}</Text>
      </View>
      <View style={inputViewStyle}>{inputComponent}</View>
    </View>);
};
//# sourceMappingURL=FormRow.js.map