text: import * as React from 'react';
  import { Platform } from 'react-native';
  import renderer from 'react-test-renderer';
  import RadioButton from '../../RadioButton';
  
  it('renders unchecked', () => {
    const tree = renderer
      .create(
        <RadioButton.Item
          status="unchecked"
          label="Unchecked Button"
          value="unchecked"
        />
      )
      .toJSON();
  
    expect(tree).toMatchSnapshot();
  });
  
  it('can render the iOS radio button on different platforms', () => {
    Platform.OS = 'android';
    const tree = renderer
      .create(
        <RadioButton.Item
          status="unchecked"
          label="iOS Radio button"
          mode="ios"
          value="ios"
        />
      )
      .toJSON();
  
    expect(tree).toMatchSnapshot();
  });
  
  it('can render the Android radio button on different platforms', () => {
    Platform.OS = 'ios';
    const tree = renderer
      .create(
        <RadioButton.Item
          status="unchecked"
          label="iOS Checkbox"
          mode="android"
          value="android"
        />
      )
      .toJSON();
  
    expect(tree).toMatchSnapshot();
  });
  