text: /**
   * Copyright Zendesk, Inc.
   *
   * Use of this source code is governed under the Apache License, Version 2.0
   * found at http://www.apache.org/licenses/LICENSE-2.0.
   */
  
  import styled from 'styled-components';
  import classNames from 'classnames';
  import { retrieveTheme, isRtl } from '@zendeskgarden/react-theming';
  import CheckboxStyles from '@zendeskgarden/css-forms/dist/checkbox.css';
  
  /**
   * Accepts all `<div>` props
   */
  const StyledCheckHint = styled.div.attrs(props => ({
    className: classNames(CheckboxStyles['c-chk__hint'], {
      // RTL
      [CheckboxStyles['is-rtl']]: isRtl(props)
    })
  }))`
    ${props => retrieveTheme('forms.checkbox_hint', props)};
  `;
  
  export default StyledCheckHint;
  