How to use the @crave/farmblocks-button.buttonTypes.OFF_NEUTRAL function in @crave/farmblocks-button

To help you get started, we’ve selected a few @crave/farmblocks-button examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github CraveFood / farmblocks / packages / alert / src / Alert.js View on Github external
} = this.props;
    const alert = (
      
        <p>{this.props.text}</p>

        {this.props.dismissable &amp;&amp; (
          <div>
            <button type="{buttonTypes.OFF_NEUTRAL}" size="{buttonSizes.SMALL}">
          </button></div>
        )}
      
    );
    if (!visibleTime) {
      return alert;
    }
    return (
      
        {alert}