<commit_before>React = require 'react'
TriggeredModalForm = require 'modal-form/triggered'

module.exports = React.createClass
  displayName: 'WarningBanner'

  render: ->
    <TriggeredModalForm trigger={@props.label} triggerProps={className: 'warning-banner'}>
      {@props.children}
    </TriggeredModalForm><commit_msg>Stateless component for WarningBanner Trying out the new syntax for stateless components in React 0.14.<commit_after>React = require 'react'
TriggeredModalForm = require 'modal-form/triggered'

module.exports = (props) ->
    <TriggeredModalForm trigger={props.label} triggerProps={className: 'warning-banner'}>
      {props.children}
    </TriggeredModalForm>
{'fraction_non_alphanumeric': 0.1154970760233918, 'fraction_numerical': 0.0043859649122807015, 'mean_word_length': 5.462264150943396, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2211930', 'n_tokens_mistral': 199, 'n_tokens_neox': 202, 'n_words': 44}