/**
 * @flow
 */

export type JSXTextMockType = {|
  type: 'JSXText',
  value: string,
  raw: string,
|};

export default function JSXTextMock(value: string): JSXTextMockType {
  return {
    type: 'JSXText',
    value,
    raw: value,
  };
}
