A simple stateless functional component that we want to test that it renders without propType warnings.
import React, { PropTypes } from 'react'
let VersionListItem = function ({ active, version }) {
return (
"""Provides a rule that outputs a monolithic static library.""" | |
load("@bazel_tools//tools/cpp:toolchain_utils.bzl", "find_cpp_toolchain") | |
TOOLS_CPP_REPO = "@bazel_tools" | |
def _cc_static_library_impl(ctx): | |
output_lib = ctx.actions.declare_file("{}.a".format(ctx.attr.name)) | |
output_flags = ctx.actions.declare_file("{}.link".format(ctx.attr.name)) |
var _ = require('lodash'); | |
var gulp = require('gulp'); | |
var browserify = require('browserify'); | |
var watchify = require('watchify'); | |
var transform = require('vinyl-transform'); | |
var shimify = require('browserify-shim'); | |
var plumber = require('gulp-plumber'); | |
var uglify = require('gulp-uglify'); | |
var notifier = require('node-notifier'); | |
var util = require('gulp-util'); |
import { Component } from "React"; | |
export var Enhance = ComposedComponent => class extends Component { | |
constructor() { | |
this.state = { data: null }; | |
} | |
componentDidMount() { | |
this.setState({ data: 'Hello' }); | |
} | |
render() { |
[Fact] | |
public void First() | |
{ | |
var tokenHandler = new JWTSecurityTokenHandler(); | |
var symmetricKey = GetRandomBytes(256/8); | |
var now = DateTime.UtcNow; | |
var tokenDescriptor = new SecurityTokenDescriptor | |
{ | |
Subject = new ClaimsIdentity(new Claim[] |