imaginerio/narratives

View on GitHub
src/components/Image/__snapshots__/image.test.js.snap

Summary

Maintainability
Test Coverage
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`Image matches snapshot 1`] = `
<div
  className="segment"
>
  <div
    className="button"
    content="Choose File"
    icon="file"
    labelPosition="left"
    loading={false}
    onClick={[Function]}
  />
  <input
    hidden={true}
    onChange={[Function]}
    type="file"
  />
  <div
    className="field"
    disabled={true}
    inline={true}
    style={
      Object {
        "marginTop": 15,
      }
    }
  >
    <label
      className="inlineLabel"
    >
      Caption
    </label>
    <input
      className="input"
      onChange={[Function]}
      placeholder="Image caption"
      value=""
    />
  </div>
  <div
    className="field"
    disabled={true}
    error={false}
    inline={true}
  >
    <label
      className="inlineLabel"
    >
      Link
    </label>
    <input
      className="input"
      onChange={[Function]}
      placeholder="https://..."
      value="Test source"
    />
  </div>
</div>
`;