text: /**
   * Copyright IBM Corp. 2016, 2018
   *
   * This source code is licensed under the Apache-2.0 license found in the
   * LICENSE file in the root directory of this source tree.
   */
  
  import React from 'react';
  import { settings } from 'carbon-components';
  
  const { prefix } = settings;
  
  export default class ToggleSmallSkeleton extends React.Component {
    render() {
      const { id } = this.props;
      return (
        <div className={`${prefix}--form-item`}>
          <input
            type="checkbox"
            id={id}
            className={`${prefix}--toggle ${prefix}--toggle--small ${prefix}--skeleton`}
          />
  
          <label
            className={`${prefix}--toggle__label ${prefix}--skeleton`}
            htmlFor={id}>
            <span className={`${prefix}--toggle__appearance`}>
              <svg
                className={`${prefix}--toggle__check`}
                width="6px"
                height="5px"
                viewBox="0 0 6 5">
                <path d="M2.2403 2.7299L4.9245 0 6 1.1117 2.2384 5 0 2.6863 1.0612 1.511z" />
              </svg>
            </span>
          </label>
        </div>
      );
    }
  }
  