Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@skava/forms / src / __tests__ / __snapshots__ / plugins.test.tsx.snap
Size: Mime:
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`@skava/forms - plugins should
    - provide default props
    - provide the plugins
    - render the plugin
    - pick the correct plugin
    - provide custom serialization
    - call validate
   1`] = `
<form
  aria-invalid={false}
  className="sc-bdVaJa bDWFJH"
  id="form-0"
  method="POST"
  onSubmit={[Function]}
>
  <div
    autoComplete="test"
    className="sc-ifAKCX gyqhYp"
  >
    <label
      className="sc-bxivhb cVtgmD"
      htmlFor="1-input"
    >
      Default State Label *
    </label>
    <input
      aria-invalid={false}
      aria-label="Default State Label"
      autoComplete="test"
      className="sc-htpNat hfsrtI"
      data-qa="qa-test"
      disabled={false}
      id="1-input"
      maxLength={254}
      minLength={4}
      onBlur={[Function]}
      onChange={[Function]}
      onFocus={[Function]}
      pattern="(.*)"
      placeholder="test..."
      required={true}
      type="test"
      value=""
    />
    <span
      className="sc-bZQynM dtxfii"
    />
    <span
      className="sc-EHOje hIVSUt"
      id="1-input-error"
      role="alert"
    />
  </div>
  <button
    className="sc-bwzfXH uTxCW"
    onClick={[Function]}
    type="submit"
  >
    Continue
  </button>
</form>
`;

exports[`@skava/forms - plugins should be able to a render a plugin directly 1`] = `
<div
  autoComplete="test"
  className="sc-ifAKCX gyqhYp"
>
  <label
    className="sc-bxivhb cVtgmD"
    htmlFor="2-input"
  >
    Test *
  </label>
  <input
    aria-invalid={false}
    aria-label="Test"
    autoComplete="test"
    className="sc-htpNat hfsrtI"
    data-qa="qa-test"
    disabled={false}
    id="2-input"
    maxLength={254}
    minLength={4}
    onBlur={[Function]}
    onChange={[Function]}
    onFocus={[Function]}
    pattern="(.*)"
    placeholder="test..."
    required={true}
    type="test"
    value=""
  />
  <span
    className="sc-bZQynM dtxfii"
  />
  <span
    className="sc-EHOje hIVSUt"
    id="2-input-error"
    role="alert"
  />
</div>
`;