{"size": 1688, "ext": "js", "max_stars_repo_path": "node_modules/gatsby-interface/dist/src/components/form/components/SelectFieldBlock.esm.js", "max_stars_repo_name": "asimitree/datocms-gatsby-portfolio-website-demo", "max_stars_repo_stars_event_min_datetime": "2021-10-03T14:30:14.000Z", "max_stars_repo_stars_event_max_datetime": "2021-10-03T14:30:14.000Z", "max_issues_repo_path": "node_modules/gatsby-interface/dist/src/components/form/components/SelectFieldBlock.esm.js", "max_issues_repo_name": "asimitree/datocms-gatsby-portfolio-website-demo", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "node_modules/gatsby-interface/dist/src/components/form/components/SelectFieldBlock.esm.js", "max_forks_repo_name": "asimitree/datocms-gatsby-portfolio-website-demo", "max_forks_repo_forks_event_min_datetime": "2020-10-16T09:35:50.000Z", "max_forks_repo_forks_event_max_datetime": "2020-10-16T09:35:50.000Z"}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": 1, "avg_line_length": 33.0980392157, "max_line_length": 145, "alphanum_fraction": 0.6954976303}
import { objectWithoutProperties as _objectWithoutProperties, extends as _extends } from '../../../../_virtual/_rollupPluginBabelHelpers.js';
import { jsx } from '@emotion/core';
import React__default from 'react';
import { FormFieldBlock } from './FormFieldBlock.esm.js';
import { StyledSelect } from './styled-primitives/StyledSelect.esm.js';

var SelectFieldBlock = React__default.forwardRef(function SelectFieldBlock(props, ref) {
  var id = props.id,
      label = props.label,
      labelSize = props.labelSize,
      error = props.error,
      hint = props.hint,
      className = props.className,
      validationMode = props.validationMode,
      layout = props.layout,
      required = props.required,
      rest = _objectWithoutProperties(props, ["id", "label", "labelSize", "error", "hint", "className", "validationMode", "layout", "required"]);

  return jsx(FormFieldBlock, {
    id: id,
    label: label,
    error: error,
    hint: hint,
    required: required,
    labelSize: labelSize,
    validationMode: validationMode,
    layout: layout,
    className: className
  }, function (controlProps) {
    return jsx(StyledSelect, _extends({
      ref: ref
    }, controlProps, rest));
  });
});
SelectFieldBlock.__docgenInfo = {
  "description": "",
  "methods": [],
  "displayName": "SelectFieldBlock"
};

if (typeof STORYBOOK_REACT_CLASSES !== "undefined") {
  STORYBOOK_REACT_CLASSES["src/components/form/components/SelectFieldBlock.tsx"] = {
    name: "SelectFieldBlock",
    docgenInfo: SelectFieldBlock.__docgenInfo,
    path: "src/components/form/components/SelectFieldBlock.tsx"
  };
}

export { SelectFieldBlock };
//# sourceMappingURL=SelectFieldBlock.esm.js.map
