path stringlengths 5 304 | repo_name stringlengths 6 79 | content stringlengths 27 1.05M |
|---|---|---|
ajax/libs/clappr/0.0.24/clappr.js | sullivanmatt/cdnjs | require=(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o]... |
example/views/src/App.js | Lanfei/webpack-isomorphic | 'use strict';
import React from 'react';
import {Route, Switch, Redirect} from 'react-router';
import {Link} from 'react-router-dom';
import IndexPage from './components/Index';
import AboutPage from './components/About';
import NotFoundPage from './components/NotFound';
import './assets/css/style.css';
export defau... |
src/view/frontend/about-us/rules/index.js | MoosemanStudios/app.moosecraft.us | import React from 'react';
import classNames from 'classnames';
import Helmet from 'react-helmet';
import { connect } from 'react-redux';
import config from 'kit/config';
import Column from 'src/components/layout/column';
import Heading from 'src/components/component/heading';
import firebase from 'src/firebase/fireba... |
js/jqwidgets/demos/react/app/combobox/customrendering/app.js | luissancheza/sice | import React from 'react';
import ReactDOM from 'react-dom';
import JqxComboBox from '../../../jqwidgets-react/react_jqxcombobox.js';
class App extends React.Component {
render() {
let data = new Array();
let firstNames = ['Nancy', 'Andrew', 'Janet', 'Margaret', 'Steven', 'Michael', 'Robert'... |
src/server/html.react.js | gaearon/este | import Component from '../client/components/component.react';
import React from 'react';
export default class Html extends Component {
render() {
// Only for production. For dev, it's handled by webpack with livereload.
const linkStyles = this.props.isProduction &&
<link
href={`/build/app.css?... |
files/videojs/5.0.0-rc.72/video.js | alexmojaki/jsdelivr | /**
* @license
* Video.js 5.0.0-rc.72 <http://videojs.com/>
* Copyright Brightcove, Inc. <https://www.brightcove.com/>
* Available under Apache License Version 2.0
* <https://github.com/videojs/video.js/blob/master/LICENSE>
*
* Includes vtt.js <https://github.com/mozilla/vtt.js>
* Available under Apache License... |
app/jsx/add_people/components/people_search.js | venturehive/canvas-lms | /*
* Copyright (C) 2016 - present Instructure, Inc.
*
* This file is part of Canvas.
*
* Canvas is free software: you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License as published by the Free
* Software Foundation, version 3 of the License.
*
* Canvas is distribut... |
app/js/components/faqs.js | team-418/main-website | import React from 'react';
import { render } from 'react-dom';
import { Link } from 'react-router';
import PrimaryNavigation from './primary_navigation';
import MainFooter from './main_footer';
class Faqs extends React.Component{
constructor(props) {
super(props);
}
render() {
var questions = [
{
... |
src/routes/app/routes/forms/routes/elements/components/DatePicker.js | ahthamrin/kbri-admin2 | import React from 'react';
import DatePicker from 'material-ui/DatePicker';
import TextField from 'material-ui/TextField';
import Toggle from 'material-ui/Toggle';
//
const DatePickerExampleSimple = () => (
<div className="col-lg-6">
<div className="box box-transparent">
<div className="box-header">Simple e... |
frontend/src/components/reports/cfeiManagement/countriesCell.js | unicef/un-partner-portal | import R from 'ramda';
import React from 'react';
import PropTypes from 'prop-types';
import { TableCell } from 'material-ui/Table';
import withCountryName from '../../common/hoc/withCountryName';
import EoiCountryCell from '../../eois/cells/eoiCountryCell';
const CountriesCell = (props) => {
const { locations } = p... |
stories/examples/ListGroupAnchorsAndButtons.js | reactstrap/reactstrap | import React from 'react';
import { ListGroup, ListGroupItem } from 'reactstrap';
const Example = (props) => {
return (
<div>
<h3>Anchors </h3>
<p>Be sure to <strong>not use the standard <code>.btn</code> classes here</strong>.</p>
<ListGroup>
<ListGroupItem active tag="a" href="#" acti... |
server/dashboard/js/components/BenchGraphs.react.js | timofey-barmin/mzbench | import React from 'react';
import MZBenchActions from '../actions/MZBenchActions';
import Graph from './Graph.react';
import GraphModal from './GraphModal.react';
import LoadingSpinner from './LoadingSpinner.react';
import MZBenchRouter from '../utils/MZBenchRouter';
import BenchStore from '../stores/BenchStore';
impor... |
src/Controls/InputCheckbox.js | vslinko-forks/react-demo | import React from 'react'
import styles from '../styles'
export default React.createClass({
displayName: 'Demo.Controls.InputCheckbox',
propTypes: {
value: React.PropTypes.bool.isRequired,
onChange: React.PropTypes.func.isRequired
},
render() {
return (
<input
style={styles.control... |
example/examples/DefaultMarkers.js | zigbang/react-native-maps | import React from 'react';
import {
StyleSheet,
View,
Text,
Dimensions,
TouchableOpacity,
} from 'react-native';
import MapView, { Marker, ProviderPropType } from 'react-native-maps';
const { width, height } = Dimensions.get('window');
const ASPECT_RATIO = width / height;
const LATITUDE = 37.78825;
const L... |
ajax/libs/amcharts4/4.10.19/.internal/fabric/fabric.js | cdnjs/cdnjs | /* build: `node build.js modules=ALL exclude=gestures,accessors requirejs minifier=uglifyjs` */
/*! Fabric.js Copyright 2008-2015, Printio (Juriy Zaytsev, Maxim Chernyak) */
var fabric = fabric || { version: '3.3.0' };
if (typeof exports !== 'undefined') {
exports.fabric = fabric;
}
/* _AMD_START_ */
else if (typeof... |
src/components/DropOption/index.js | wz-one-piece/Antd-Demo | import React from 'react'
import PropTypes from 'prop-types'
import { Dropdown, Button, Icon, Menu } from 'antd'
const DropOption = ({ onMenuClick, menuOptions = [], buttonStyle, dropdownProps }) => {
const menu = menuOptions.map(item => <Menu.Item key={item.key}>{item.name}</Menu.Item>)
return (<Dropdown
over... |
webpack.config.server.js | vladmokryi/Nation-Forecast | var fs = require('fs');
var path = require('path');
var ExternalsPlugin = require('webpack-externals-plugin');
module.exports = {
entry: path.resolve(__dirname, 'server/server.js'),
output: {
path: __dirname + '/dist/',
filename: 'server.bundle.js',
},
target: 'node',
node: {
__filename: true... |
tests/DateRange/DateRange.js | appbaseio/reactivebase | import React from 'react';
import { ReactiveBase, DateRange, ReactiveList } from '../../app/app.js';
import {config} from './config';
import { mount } from 'enzyme';
function testComponent(cb) {
const onData = function(res, err) {
cb(res, err);
}
const component = mount(
<ReactiveBase
app={config.ReactiveBa... |
packages/material-ui-icons/src/SignalCellularConnectedNoInternet1Bar.js | cherniavskii/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<g><path fillOpacity=".3" d="M22 8V2L2 22h16V8z" /><path d="M20 10v8h2v-8h-2zm-8 12V12L2 22h10zm8 0h2v-2h-2v2z" /></g>
, 'SignalCellularConnectedNoInternet1Bar');
|
js/jqwidgets/demos/react/app/combobox/dropdownhorizontalalignment/app.js | luissancheza/sice | import React from 'react';
import ReactDOM from 'react-dom';
import JqxComboBox from '../../../jqwidgets-react/react_jqxcombobox.js';
import JqxRadioButton from '../../../jqwidgets-react/react_jqxradiobutton.js';
class App extends React.Component {
componentDidMount() {
this.refs.rightAlign.on('checked', ... |
Libraries/Components/MapView/MapView.js | foghina/react-native | /**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
* @provides... |
client/modules/ForumBoard/components/ForumBoardGroupsList.js | XuHaoJun/tiamat | import React from 'react';
import { connect } from 'react-redux';
import { List } from 'immutable';
import { shallowEqualImmutable } from 'react-immutable-render-mixin';
import { Link } from 'react-router-dom';
import MuiList from '@material-ui/core/List';
import ListItem from '@material-ui/core/ListItem';
import List... |
ajax/libs/ui-router-extras/0.0.12/ct-ui-router-extras.min.js | boneskull/cdnjs | !function(t,e){"use strict";function r(t,e){var r=[];for(var n in t.path){if(t.path[n]!==e.path[n])break;r.push(t.path[n])}return r}function n(e){if(Object.keys)return Object.keys(e);var r=[];return t.forEach(e,function(t,e){r.push(e)}),r}function a(t,e){var r=[];for(var n in t)e&&-1!==e.indexOf(n)||r.push(n);return r}... |
ajax/libs/jQRangeSlider/4.2.2/jQRangeSliderBar.min.js | perfect-pixell/cdnjs | (function(a,b){a.widget("ui.rangeSliderBar",a.ui.rangeSliderDraggable,{options:{leftHandle:null,rightHandle:null,bounds:{min:0,max:100},type:"rangeSliderHandle",range:false,drag:function(){},stop:function(){},values:{min:0,max:20},wheelSpeed:4,wheelMode:null},_values:{min:0,max:20},_waitingToInit:2,_wheelTimeout:false,... |
src/components/allNote.js | onepiece8971/rememberNote | import React from 'react';
import {FlatList} from 'react-native';
import CS from '../css/convertSize';
import {
ContentView,
TopView,
TopText,
} from '../css/noteStyles';
import {MainView} from '../css/styles'
import Menu from '../containers/menu'
import Top from '../containers/top';
import SmallNoteViews from '.... |
src/parser/druid/feral/modules/talents/MoonfireSnapshot.js | FaideWW/WoWAnalyzer | import React from 'react';
import SPELLS from 'common/SPELLS';
import SpellLink from 'common/SpellLink';
import { formatPercentage } from 'common/format';
import { STATISTIC_ORDER } from 'interface/others/StatisticsListBox';
import Snapshot from '../core/Snapshot';
import { MOONFIRE_FERAL_BASE_DURATION, PANDEMIC_FRACT... |
src/Navigation/Tabs/tabFour/views/TabFourScreenOne.js | Ezeebube5/Nairasense | import React from 'react';
import { View } from 'react-native';
import { bindActionCreators } from 'redux';
import { connect } from 'react-redux';
import { Container, Body, H1,
Header, Left, Right, Button, Title } from 'native-base';
import Icon from 'react-native-vector-icons/FontAwesome';
import { Colors }... |
client/apps/plugin-status/services.js | Automattic/woocommerce-connect-client | /**
* External dependencies
*/
import React from 'react';
import { connect } from 'react-redux';
import { localize } from 'i18n-calypso';
/**
* Internal dependencies
*/
import FormSettingExplanation from 'components/forms/form-setting-explanation';
import Indicator from './indicator';
import SettingsGroupCard from... |
mining/lib/jquery/jquery-1.11.1.min.js | ljjgdfs/CookieLogger | /*! jQuery v1.11.1 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */
!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof wind... |
app/javascript/mastodon/features/standalone/public_timeline/index.js | unarist/mastodon | import React from 'react';
import { connect } from 'react-redux';
import PropTypes from 'prop-types';
import StatusListContainer from '../../ui/containers/status_list_container';
import { expandPublicTimeline } from '../../../actions/timelines';
import Column from '../../../components/column';
import ColumnHeader from ... |
app/components/IconSystem/Icons/Rocket.js | cdiezmoran/AlphaStage-2.0 | import React from 'react';
import propTypes from '../iconPropTypes';
const Rocket = ({ fill, styles }) => (
<svg
version="1.1"
id="Capa_1"
xmlns="http://www.w3.org/2000/svg"
x="0px"
y="0px"
viewBox="0 0 436 436"
style={{ ...styles, enableBackground: 'new 0 0 436 436' }}
>
<g>
... |
public/vendor/jqplot/jquery.min.js | jemekite/fedoracoin-iquidus | /*! jQuery v1.9.1 | (c) 2005, 2012 jQuery Foundation, Inc. | jquery.org/license
//@ sourceMappingURL=jquery.min.map
*/(function(e,t){var n,r,i=typeof t,o=e.document,a=e.location,s=e.jQuery,u=e.$,l={},c=[],p="1.9.1",f=c.concat,d=c.push,h=c.slice,g=c.indexOf,m=l.toString,y=l.hasOwnProperty,v=p.trim,b=function(e,t){return... |
assets/js/src/components/Utils/SectionContainer.js | nathandao/ginatra | import React from 'react';
class SectionContainer extends React.Component {
render() {
return (
<section className="section-container">
{ this.props.children }
</section>
);
}
}
export default SectionContainer;
|
src/svg-icons/notification/priority-high.js | pradel/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let NotificationPriorityHigh = (props) => (
<SvgIcon {...props}>
<circle cx="12" cy="19" r="2"/><path d="M10 3h4v12h-4z"/>
</SvgIcon>
);
NotificationPriorityHigh = pure(NotificationPriorityHigh);
NotificationPrio... |
docs/src/app/components/pages/components/Snackbar/ExampleSimple.js | manchesergit/material-ui | import React from 'react';
import Snackbar from 'material-ui/Snackbar';
import RaisedButton from 'material-ui/RaisedButton';
export default class SnackbarExampleSimple extends React.Component {
constructor(props) {
super(props);
this.state = {
open: false,
};
}
handleClick = () => {
this.... |
project/src/clientEntry.js | strues/boldr | /* eslint-disable prefer-destructuring, no-underscore-dangle, new-cap */
import React from 'react';
import { render, getToken, createApolloClient, createBoldrStore, createHistory } from '@boldr/core';
import { checkAuth } from './scenes/Account/state/actions';
import App from './components/App';
import appReducer fro... |
ajax/libs/forerunnerdb/1.3.714/fdb-core.js | tonytomov/cdnjs | (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex... |
ajax/libs/analytics.js/2.3.17/analytics.js | eduardo-costa/cdnjs | (function outer(modules, cache, entries){
/**
* Global
*/
var global = (function(){ return this; })();
/**
* Require `name`.
*
* @param {String} name
* @param {Boolean} jumped
* @api public
*/
function require(name, jumped){
if (cache[name]) return cache[name].exports;
if (mo... |
docs/src/app/components/pages/customization/StylesOverridingInlineExample.js | mmrtnz/material-ui | import React from 'react';
import Checkbox from 'material-ui/Checkbox';
const StylesOverridingInlineExample = () => (
<Checkbox
name="StylesOverridingInlineExample"
label="Checked the mail"
style={{
width: '50%',
margin: '0 auto',
border: '2px solid #FF9800',
backgroundColor: '#ff... |
stories/Timezones.js | erin-doyle/react-times | import '../css/material/default.css';
import {withKnobs} from '@kadira/storybook-addon-knobs';
import React from 'react';
import TimePickerWrapper from '../examples/TimePickerWrapper';
import TimezonePickerWrapper from '../examples/TimezonePickerWrapper';
import {storiesOf} from '@kadira/storybook';
import timeHelper... |
packages/reactor-kitchensink/src/examples/Toast/Toast.js | markbrocato/extjs-reactor | import React, { Component } from 'react';
import { Container, Button } from '@extjs/ext-react';
Ext.require('Ext.Toast');
export default function ToastExample() {
return (
<Button
ui="action"
handler={() => Ext.toast('Hello World!')}
text="Show Toast"
/>
)... |
dist/ReactDnD.min.js | randrianov/react-dnd | !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react")):"function"==typeof define&&define.amd?define(["react"],e):"object"==typeof exports?exports.ReactDnD=e(require("react")):t.ReactDnD=e(t.React)}(this,function(t){return function(t){function e(n){if(r[n])return r[n].exports... |
src/components/Header/Header.js | DenisIzmaylov/react-starter-kit | /*! React Starter Kit | MIT License | http://www.reactstarterkit.com/ */
import React from 'react'; // eslint-disable-line no-unused-vars
import styles from './Header.less'; // eslint-disable-line no-unused-vars
import { withStyles } from '../decorators'; // eslint-disable-line no-unused-vars
import Link from '../../u... |
app/components/FilterFields/AreaFristen.js | barbalex/kapla3 | import React from 'react'
import PropTypes from 'prop-types'
import { observer } from 'mobx-react-lite'
import styled from 'styled-components'
import DateField from './DateField'
const Container = styled.div`
grid-area: areaFristen;
background-color: white;
box-shadow: inset 1em 1em 2em rgb(252, 255, 194),
... |
src/routes/wxuser/Filter.js | miaoji/guojibackend | import React from 'react'
import PropTypes from 'prop-types'
import moment from 'moment'
import { FilterItem } from '../../components'
import { Form, Button, Row, Col, DatePicker, Input, Cascader, Switch, Menu, Dropdown } from 'antd'
import city from '../../utils/city'
const Search = Input.Search
const { RangePicker }... |
src/components/Header/Header.js | quasicrial/quasicrial | /**
* React Starter Kit (https://www.reactstarterkit.com/)
*
* Copyright © 2014-2016 Kriasoft, LLC. All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE.txt file in the root directory of this source tree.
*/
import React from 'react';
import { defineMessages, Format... |
src/svg-icons/action/supervisor-account.js | pancho111203/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ActionSupervisorAccount = (props) => (
<SvgIcon {...props}>
<path d="M16.5 12c1.38 0 2.49-1.12 2.49-2.5S17.88 7 16.5 7C15.12 7 14 8.12 14 9.5s1.12 2.5 2.5 2.5zM9 11c1.66 0 2.99-1.34 2.99-3S10.66 5 9 5C7.34 5 6 ... |
src/index.js | martinpeck/yt-react-app | import React, { Component } from 'react';
import ReactDOM from 'react-dom';
import YTSearch from 'youtube-api-search';
import SearchBar from './components/search_bar';
import VideoList from './components/video_list';
import VideoDetail from './components/video_detail'
const API_KEY = 'AIzaSyA8HzvAGOyLMgb-Yo5m2Y2u5I9vx... |
ajax/libs/material-ui/5.0.0-alpha.23/node/internal/svg-icons/Person.min.js | cdnjs/cdnjs | "use strict";var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault"),_interopRequireWildcard=require("@babel/runtime/helpers/interopRequireWildcard");Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var React=_interopRequireWildcard(require("react")),_createSvgIco... |
client/src/app/install/install-step-1-language.js | opensupports/opensupports | import React from 'react';
import {connect} from 'react-redux';
import history from 'lib-app/history';
import i18n from 'lib-app/i18n';
import ConfigActions from 'actions/config-actions';
import LanguageSelector from 'app-components/language-selector';
import Button from 'core-components/button';
import Header from '... |
ajax/libs/forerunnerdb/1.3.524/fdb-core+views.js | CyrusSUEN/cdnjs | (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex... |
admin/src/components/Popout.js | udp/keystone | import classnames from 'classnames';
import React from 'react';
import { Button, Checkbox, InputGroup, SegmentedControl } from 'elemental';
import Portal from './Portal';
const Transition = React.addons.CSSTransitionGroup;
const sizes = {
arrowHeight: 12
};
var Popout = React.createClass({
displayName: 'Popout',
p... |
packages/material-ui-icons/src/ThumbUpAltOutlined.js | allanalexandre/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path fill="none" d="M0 0h24v24H0V0z" opacity=".87" /><g><path d="M21 8h-6.31l.95-4.57.03-.32c0-.41-.17-.79-.44-1.06L14.17 1 7.59 7.59C7.22 7.95 7 8.45 7 9v10c0 1.1.9 2 2 2h9c.83 0 1.54-.5 1.84... |
src/public/home/components/container2-component.js | msherer95/tastir |
import React from 'react'; // eslint-disable-line
import wineEllipseSVG from '../assets/wine-ellipse.svg';
import dollarEllipseSVG from '../assets/dollar-ellipse.svg';
import menuEllipseSVG from '../assets/menu-ellipse.svg';
import dollarSign from '../assets/dollar_sign.svg';
import wineGlassSVG from '../assets/wine_... |
files/core-js/0.8.4/core.js | oller/jsdelivr | /**
* Core.js 0.8.4
* https://github.com/zloirock/core-js
* License: http://rock.mit-license.org
* © 2015 Denis Pushkarev
*/
!function(undefined){
var __e = null, __g = null;
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/ // The requ... |
src/api/CameraRoll.js | lelandrichardson/react-native-mock | import invariant from 'invariant';
import React from 'react';
import CameraRollManager from '../NativeModules/CameraRollManager';
const { PropTypes } = React;
const GROUP_TYPES_OPTIONS = [
'Album',
'All',
'Event',
'Faces',
'Library',
'PhotoStream',
'SavedPhotos', // default
];
const ASSET_TYPE_OPTIONS ... |
client/src/reader/components/Toc/TocNode/styles.js | ManifoldScholar/manifold | import styled from "@emotion/styled";
import { Link } from "react-router-dom";
import { tocDrawer } from "../styles";
import { defaultTransitionProps } from "theme/styles/mixins";
import { transientOptions } from "helpers/emotionHelpers";
const toggleWidth = "24px";
const togglePadding = "12px";
const inlineEndPadding... |
ajax/libs/styled-components/4.0.0-beta.9-macro/styled-components.browser.esm.js | sufuf3/cdnjs | import Stylis from 'stylis/stylis.min';
import _insertRulePlugin from 'stylis-rule-sheet';
import React, { cloneElement, createContext, Component, createElement, PureComponent } from 'react';
import { isValidElementType, ForwardRef } from 'react-is';
import memoize from 'memoize-one';
import PropTypes from 'prop-types'... |
src/parser/druid/feral/modules/spells/TigersFuryEnergy.js | FaideWW/WoWAnalyzer | import React from 'react';
import SPELLS from 'common/SPELLS';
import SpellLink from 'common/SpellLink';
import { formatPercentage } from 'common/format';
import Analyzer from 'parser/core/Analyzer';
import EnergyTracker from '../features/EnergyTracker';
import Predator from '../talents/Predator';
class TigersFuryEner... |
src/svg-icons/image/burst-mode.js | lawrence-yu/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ImageBurstMode = (props) => (
<SvgIcon {...props}>
<path d="M1 5h2v14H1zm4 0h2v14H5zm17 0H10c-.55 0-1 .45-1 1v12c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V6c0-.55-.45-1-1-1zM11 17l2.5-3.15L15.29 16l2.5-3.22L21 17H11z"/... |
src/components/elements/Switch.js | dynamicform/dynamicform-react-client | /**
* Created by KangYe on 2017/4/28.
*/
import React from 'react';
import {connect} from 'react-redux';
import {Switch, Form, Icon} from 'antd';
import _ from 'lodash';
import {initFormData,initDynamicFormData, updateFormData,updateDynamicFormData} from '../../actions/formAction';
import {FormItemLayout, MapStateToP... |
ajax/libs/react-select/1.0.0-rc.1/react-select.min.js | nolsherry/cdnjs | !function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,t.Select=e()}}(function(){return function e(t,u,s){functi... |
views/containers/CalendarAppointmentsView.js | gvaldambrini/madam | import React from 'react';
import moment from 'moment';
import BaseAppointmentsView from './BaseAppointmentsView';
// The appointments main container used in the calendar / homepage section.
export default React.createClass({
propTypes: {
params: React.PropTypes.shape({
id: React.PropTypes.string.isRequi... |
step8-unittest/node_modules/babel-plugin-transform-async-to-generator/node_modules/core-js/client/library.js | jintoppy/react-training | /**
* core-js 2.4.1
* https://github.com/zloirock/core-js
* License: http://rock.mit-license.org
* © 2016 Denis Pushkarev
*/
!function(__e, __g, undefined){
'use strict';
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/******/ // The require f... |
ajax/libs/react-big-calendar/0.24.0/react-big-calendar.esm.js | cdnjs/cdnjs | import _extends from '@babel/runtime/helpers/esm/extends';
import _objectWithoutPropertiesLoose from '@babel/runtime/helpers/esm/objectWithoutPropertiesLoose';
import _inheritsLoose from '@babel/runtime/helpers/esm/inheritsLoose';
import PropTypes from 'prop-types';
import React, { Component } from 'react';
import { un... |
lib/controllers/git-tab-controller.js | atom/github | import path from 'path';
import React from 'react';
import PropTypes from 'prop-types';
import {TextBuffer} from 'atom';
import GitTabView from '../views/git-tab-view';
import UserStore from '../models/user-store';
import RefHolder from '../models/ref-holder';
import {
CommitPropType, BranchPropType, FilePatchItemP... |
packages/node_modules/@webex/react-component-title-bar/src/index.js | adamweeks/react-ciscospark-1 | import React from 'react';
import PropTypes from 'prop-types';
import classNames from 'classnames';
import PresenceAvatar from '@webex/react-container-presence-avatar';
import styles from './styles.css';
const propTypes = {
children: PropTypes.node,
avatarId: PropTypes.string,
name: PropTypes.string,
type: P... |
packages/react-devtools-shared/src/devtools/views/Profiler/NoInteractions.js | rickbeerendonk/react | /**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/
import React from 'react';
import styles from './NoInteractions.css';
export default function NoInteractions({
hei... |
src/Row.js | somethingnew2-0/react-data-grid | /* @flow */
/**
* @jsx React.DOM
*/
'use strict';
var React = require('react');
var joinClasses = require('classnames');
var Cell = require('./Cell');
var ColumnMetrics = require('./ColumnMetrics');
var ColumnUtilsMixin = require('./ColumnUtils');
type RowPropsType = {
height: numb... |
ajax/libs/semantic-ui-react/0.56.0/semantic-ui-react.min.js | dlueth/cdnjs | !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("React"),require("ReactDOM")):"function"==typeof define&&define.amd?define(["React","ReactDOM"],t):"object"==typeof exports?exports.semanticUIReact=t(require("React"),require("ReactDOM")):e.semanticUIReact=t(e.React,e.ReactDOM)}(t... |
dialogtest.js | Murad-Awad/PingIt | import React, { Component } from 'react';
import {
AppRegistry,
Text,
View,
BackHandler
} from 'react-native';
import LocationServicesDialogBox from "react-native-android-location-services-dialog-box";
class SampleApp extends Component {
state = {
initialPosition: 'unknown',
};
co... |
src/svg-icons/action/favorite.js | pancho111203/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ActionFavorite = (props) => (
<SvgIcon {...props}>
<path d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6... |
js/components/shared/FormCheckVideo/FormCheckVideo.js | xuorig/form-check-app | /* @flow */
import React from 'react';
import styles from './FormCheckVideo.css';
class FormCheckVideo extends React.Component {
render() {
let url = this.props.url || "http://vjs.zencdn.net/v/oceans.mp4";
return (
<div className={styles['video-container']}>
<video id="my-video" controls width... |
ajax/libs/babel-core/4.3.0/browser.min.js | drewfreyling/cdnjs | !function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var n;"undefined"!=typeof window?n=window:"undefined"!=typeof global?n=global:"undefined"!=typeof self&&(n=self),n.babel=e()}}(function(){var e,n,l;return function t(e,... |
src/components/school-header.js | voidxnull/libertysoil-site | /*
This file is a part of libertysoil.org website
Copyright (C) 2015 Loki Education (Social Enterprise)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, o... |
src/containers/auth/Forms/FormView.js | banovotz/WatchBug2 | /**
* Login/Sign Up/Forgot Password Screen
*
* React Native Starter App
* https://github.com/mcnamee/react-native-starter-app
*/
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import {
View,
ScrollView,
AsyncStorage,
TouchableOpacity,
} from 'react-native';
import FormValidat... |
public/app/components/vpanel-project-tab/canvas-component-attribute.js | vincent-tr/mylife-home-studio | 'use strict';
import React from 'react';
import * as dnd from 'react-dnd';
import icons from '../icons';
import { dragTypes } from '../../constants/index';
import styles from './canvas-component-styles';
const CanvasComponentAttribute = ({ attribute, connectDragPreview, connectDragSource }) => connectDragSource(
... |
fields/types/geopoint/GeoPointField.js | stosorio/keystone | import Field from '../Field';
import React from 'react';
import { FormRow, FormField, FormInput } from 'elemental';
module.exports = Field.create({
displayName: 'GeopointField',
focusTargetRef: 'lat',
valueChanged (which, event) {
this.props.value[which] = event.target.value;
this.props.onChange({
path: t... |
src/components/Html.js | egut/react-docker-demo | /**
* React Starter Kit (https://www.reactstarterkit.com/)
*
* Copyright © 2014-present Kriasoft, LLC. All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE.txt file in the root directory of this source tree.
*/
import React from 'react';
import PropTypes from 'prop-... |
web/src/js/components/virtualscroll.js | claimsmall/mitmproxy | var React = require("react");
var VirtualScrollMixin = {
getInitialState: function () {
return {
start: 0,
stop: 0
};
},
componentWillMount: function () {
if (!this.props.rowHeight) {
console.warn("VirtualScrollMixin: No rowHeight specified", this... |
src/index.js | BenMGilman/react-lunch-and-learn | /* eslint-disable import/default */
import React from 'react';
import {render} from 'react-dom';
import { Provider } from 'react-redux';
import { Router, browserHistory } from 'react-router';
import routes from './routes';
import configureStore from './store/configureStore';
import injectTapEventPlugin from 'react-tap-... |
node_modules/react-icons/go/steps.js | bengimbel/Solstice-React-Contacts-Project |
import React from 'react'
import Icon from 'react-icon-base'
const GoSteps = props => (
<Icon viewBox="0 0 40 40" {...props}>
<g><path d="m12.8 2.5c-2.9 0-5.3 3.9-5.3 8.8 0 2.6 0.7 5.5 1.3 9.9 0.5 3.4 1.8 6.3 4 6.3s3.7-1.9 3.7-5.4c0-1.2-1-3.1-1-4.7-0.1-2.9 1.9-4 1.9-6.7 0-4.9-1.7-8.2-4.6-8.2z m14.3 10c-2.... |
example/src/client.js | majapw/react-day-picker | import React from 'react';
import reactTapEvent from 'react-tap-event-plugin';
import Example from './Example';
// enable touch-tap events
reactTapEvent();
// inject css
require("./style/Example.scss");
require("./style/DayPicker.scss");
React.render(<Example />, document.getElementById("root"));
|
src/components/Note/NoteItem.js | josedigital/koala-app | import React from 'react'
export default class NoteItem extends React.Component {
render () {
return (
<div>
<p>Category = {this.props.note.category}</p>
<p>The Note = {this.props.note.noteText}</p>
<hr />
</div>
)
}
} |
app/containers/Profile/ReactionStructures.js | mhoffman/CatAppBrowser | import React from 'react';
import PropTypes from 'prop-types';
import Tabs, { Tab } from 'material-ui/Tabs';
import { withStyles } from 'material-ui/styles';
import Hidden from 'material-ui/Hidden';
import SingleStructureView from 'components/SingleStructureView';
import BarrierChart from 'components/BarrierChart';
... |
src/client/modules/HandleError.js | kuatro/react-esc | /**
* Created by tycho on 20/03/2017.
*/
import React from 'react'
import Helmet from 'react-helmet'
import PrettyError from 'pretty-error'
import { renderToStaticMarkup } from 'react-dom/server'
import { renderHtmlLayout } from './RenderHtmlLayout'
import _debug from 'debug'
export default (error, resolve, ctx, def... |
packages/material-ui-icons/src/BugReport.js | allanalexandre/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path fill="none" d="M0 0h24v24H0z" /><path d="M20 8h-2.81c-.45-.78-1.07-1.45-1.82-1.96L17 4.41 15.59 3l-2.17 2.17C12.96 5.06 12.49 5 12 5c-.49 0-.96.06-1.41.17L8.41 3 7 4.41l1.62 1.63C7.88 6.5... |
docs/app/Examples/elements/Button/Types/ButtonExampleIconProp.js | vageeshb/Semantic-UI-React | import React from 'react'
import { Button } from 'semantic-ui-react'
const ButtonExampleIconProp = () => (
<Button icon='world' />
)
export default ButtonExampleIconProp
|
ajax/libs/react/0.10.0/JSXTransformer.js | joaojeronimo/cdnjs | /**
* JSXTransformer v0.10.0
*/
!function(e){if("object"==typeof exports)module.exports=e();else if("function"==typeof define&&define.amd)define(e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.JSXTransformer=e()}}(function(){var define,module,... |
teletobit/src/components/Register/TitleBar.js | edenpark/teletobit | import React from 'react';
const TitleBar = ({children}) => {
return (
<div className="title-bar">
{children}
</div>
);
};
export default TitleBar;
|
ajax/libs/rxjs/2.3.0/rx.lite.js | jozefizso/cdnjs | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
;(function (undefined) {
var objectTypes = {
'boolean': false,
'function': true,
'object': true,
'number': false,
'string': false,
'undefined': false... |
sites/all/modules/context/plugins/context_reaction_block.js | plantright/plantright |
Drupal.behaviors.contextReactionBlock = function(context) {
$('form.context-editor:not(.context-block-processed)')
.addClass('context-block-processed')
.each(function() {
var id = $(this).attr('id');
Drupal.contextBlockEditor = Drupal.contextBlockEditor || {};
$(this).bind('init.pageEditor'... |
src/svg-icons/action/perm-phone-msg.js | andrejunges/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ActionPermPhoneMsg = (props) => (
<SvgIcon {...props}>
<path d="M20 15.5c-1.25 0-2.45-.2-3.57-.57-.35-.11-.74-.03-1.02.24l-2.2 2.2c-2.83-1.44-5.15-3.75-6.59-6.58l2.2-2.21c.28-.27.36-.66.25-1.01C8.7 6.45 8.5 5.2... |
app/javascript/mastodon/features/list_editor/index.js | sylph-sin-tyaku/mastodon | import React from 'react';
import PropTypes from 'prop-types';
import ImmutablePropTypes from 'react-immutable-proptypes';
import { connect } from 'react-redux';
import ImmutablePureComponent from 'react-immutable-pure-component';
import { injectIntl } from 'react-intl';
import { setupListEditor, clearListSuggestions, ... |
client/src/components/ElementEditor/ElementList.js | dnadesign/silverstripe-elemental | import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { elementType } from 'types/elementType';
import { elementTypeType } from 'types/elementTypeType';
import { compose } from 'redux';
import { inject } from 'lib/Injector';
import classNames from 'classnames';
import i18n from 'i18n';
im... |
index.js | cahamilton/css-modules-test | import React from 'react';
import ReactDOM from 'react-dom';
import 'normalize.css';
import styles from './stylesheets/screen.css';
import Heading from './components/Heading/index';
import Main from './components/Main/index';
import Sidebar from './components/Sidebar/index';
function App() {
return (
<div clas... |
src/app/components/Home.js | Dynamit/healthcare-microsite | /**
* Home view
* Empty because the main `App` is truly home.
* This component exists as a route Handler.
*/
import React from 'react';
class Home extends React.Component {
render() {
return (
<div />
);
}
};
export default Home;
|
client/modules/App/components/Footer/Footer.js | openfocus/HTH-MERN | import React from 'react';
import { FormattedMessage } from 'react-intl';
// Import Style
import styles from './Footer.css';
// Import Images
import bg from '../../header-bk.png';
export function Footer() {
return (
<div style={{ background: `#FFF url(${bg}) center` }} className={styles.footer}>
<p>©... |
ajax/libs/material-ui/4.9.3/es/Typography/Typography.min.js | cdnjs/cdnjs | import _extends from"@babel/runtime/helpers/esm/extends";import _objectWithoutPropertiesLoose from"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";import React from"react";import PropTypes from"prop-types";import clsx from"clsx";import withStyles from"../styles/withStyles";import capitalize from"../utils/capit... |
www/components/Comment/CommentForm.js | DremyGit/dremy-blog | import React from 'react';
import CSSModule from 'react-css-modules';
import { submitComment } from '../../actions/comment';
import styles from './CommentForm.scss';
@CSSModule(styles)
export default class CommentForm extends React.Component {
constructor(props) {
super(props);
this.state = {
user: ''... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.