path stringlengths 5 304 | repo_name stringlengths 6 79 | content stringlengths 27 1.05M |
|---|---|---|
src/pages/Components/Grid/index.js | JSLancerTeam/crystal-dashboard | import React from 'react';
import GridCollection from './GridCollection';
import Paragraph from './Paragraph';
const Grid = () => (
<div className="content">
<div className="container-fluid">
<GridCollection />
<Paragraph />
</div>
</div>
);
export default Grid; |
src/components/shared/dropdown.js | ziagrosvenor/sound-machine | import React from 'react'
import './dropdown.scss'
export function DropDown(props) {
const options = props.options.map((value, i) => {
return (
<option
key={i}
value={value}
>{value.toUpperCase()}
</option>)
})
return (
<div className='dropdown dropdown-dark'>
<se... |
public/src/containers/app.js | white87332/react-redux-sample | import React from 'react';
import { syncHistoryWithStore } from 'react-router-redux';
import { render } from 'react-dom';
import { browserHistory } from 'react-router';
import { Provider } from 'react-redux';
import { I18nextProvider } from 'react-i18next';
import configureStore from '../store/configureStore';
import c... |
packages/wix-style-react/stories/Playground/Playground.story.js | wix/wix-style-react | import React from 'react';
import { header, description, code } from 'wix-storybook-utils/Sections';
import Playground from 'wix-storybook-utils/Playground';
import LayoutList from 'wix-ui-icons-common/LayoutList';
import LayoutListWithPanel from 'wix-ui-icons-common/LayoutListWithPanel';
import playgroundComponents,... |
src/svg-icons/av/fast-rewind.js | IsenrichO/mui-with-arrows | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let AvFastRewind = (props) => (
<SvgIcon {...props}>
<path d="M11 18V6l-8.5 6 8.5 6zm.5-6l8.5 6V6l-8.5 6z"/>
</SvgIcon>
);
AvFastRewind = pure(AvFastRewind);
AvFastRewind.displayName = 'AvFastRewind';
AvFastRewin... |
node_modules/react-icons/ti/infinity-outline.js | bengimbel/Solstice-React-Contacts-Project |
import React from 'react'
import Icon from 'react-icon-base'
const TiInfinityOutline = props => (
<Icon viewBox="0 0 40 40" {...props}>
<g><path d="m27.4 14.3c1.9 0 3.7 0.8 5.1 2.1 1.3 1.4 2.1 3.2 2.1 5.1s-0.8 3.8-2.1 5.1c-1.4 1.4-3.2 2.1-5.1 2.1s-3.7-0.7-5.1-2.1l-2.3-2.2-2.3 2.3c-1.4 1.3-3.2 2-5.1 2s-3.7... |
ajax/libs/react-data-grid/0.13.11/react-data-grid.js | menuka94/cdnjs | (function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("react"));
else if(typeof define === 'function' && define.amd)
define(["react"], factory);
else if(typeof exports === 'object')
exports["ReactDataGrid"] = f... |
src/client/products/product-list.react.js | lassecapel/este-isomorphic-app | import React from 'react';
import PureComponent from '../components/purecomponent.react';
import ProductTile from './product-tile.react';
export default
class ProductList extends PureComponent {
render() {
return (
<div>
{
this.props.products
.map((product) => {
... |
src/containers/AppTodoList.js | jonishaso/nice-tdl | import React, { Component } from 'react';
import { connect } from 'react-redux'
import VisibableTodoList from './visibaleTodoList'
import VisibableAddForm from './visibaleAddForm'
import VisibableFilters from './visibaleFilter'
import { fetchData_action } from '../actions'
import logo from '../logo.svg';
import '../sty... |
src/components/About/AboutPage.js | marinbgd/coolbeer | import React from 'react';
import {Link} from 'react-router';
// Since this component is simple and static, there's no parent container for it.
const AboutPage = () => {
return (
<div>
<h2 className="alt-header">About</h2>
<p>
This example app is part of the <a href="https://github.com/coryhouse/react-sli... |
ajax/libs/strophe.js/1.1.2/strophe.js | mzdani/cdnjs | // This code was written by Tyler Akins and has been placed in the
// public domain. It would be nice if you left this header intact.
// Base64 code from Tyler Akins -- http://rumkin.com
var Base64 = (function () {
var keyStr = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
var obj = {
... |
src/components/FormButton.js | bartonhammond/snowflake | /**
* # FormButton.js
*
* Display a button that responds to onPress and is colored appropriately
*/
'use strict'
/**
* ## Imports
*
* React
*/
import React from 'react'
import
{
StyleSheet,
View
} from 'react-native'
/**
* The platform neutral button
*/
const Button = require('apsl-react-native-button')
... |
src/components/App.js | cohenpts/CircleCITut | import React from 'react'
import { browserHistory, Router } from 'react-router'
import { Provider } from 'react-redux'
import PropTypes from 'prop-types'
class App extends React.Component {
static propTypes = {
store: PropTypes.object.isRequired,
routes: PropTypes.object.isRequired,
}
shouldComponentUpd... |
src/docs/exampleComponents/ScatterChart/SimpleScatterChart.js | recharts/recharts.org | import React, { PureComponent } from 'react';
import { ScatterChart, Scatter, XAxis, YAxis, CartesianGrid, Tooltip, ResponsiveContainer } from 'recharts';
const data = [
{ x: 100, y: 200, z: 200 },
{ x: 120, y: 100, z: 260 },
{ x: 170, y: 300, z: 400 },
{ x: 140, y: 250, z: 280 },
{ x: 150, y: 400, z: 500 },... |
node_modules/reactify/node_modules/react-tools/src/utils/__tests__/PooledClass-test.js | danascheider/barista | /**
* Copyright 2014-2015, 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.
*
* @emails react-co... |
client/Root.production.js | kherrick/postpress | import React from 'react'
import { Provider } from 'react-redux'
import { ConnectedRouter } from 'react-router-redux'
import { render } from 'react-dom'
import createHistory from 'history/createBrowserHistory'
import configureStore from '../common/store/configureStore'
import App from '../common/containers/App'
cons... |
website/sardines/src/citylist.js | line72/sardines | /* -*- Mode: rjsx -*- */
/*******************************************
* Copyright (2017)
* Marcus Dillavou <line72@line72.net>
* http://line72.net
*
* Sardines:
* https://github.com/line72/sardines
* https://sardines.line72.net
*
* Licensed Under the GPLv3
*******************************************/
im... |
src/svg-icons/image/texture.js | frnk94/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ImageTexture = (props) => (
<SvgIcon {...props}>
<path d="M19.51 3.08L3.08 19.51c.09.34.27.65.51.9.25.24.56.42.9.51L20.93 4.49c-.19-.69-.73-1.23-1.42-1.41zM11.88 3L3 11.88v2.83L14.71 3h-2.83zM5 3c-1.1 0-2 .9-2 ... |
node_modules/rx/dist/rx.lite.js | alejandro-panos/AngularHeroes | // 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... |
app/javascript/mastodon/features/compose/components/reply_indicator.js | foozmeat/mastodon | import React from 'react';
import ImmutablePropTypes from 'react-immutable-proptypes';
import PropTypes from 'prop-types';
import Avatar from '../../../components/avatar';
import IconButton from '../../../components/icon_button';
import DisplayName from '../../../components/display_name';
import { defineMessages, injec... |
lib/yuilib/2in3/2.9.0/build/yui2-yuiloader/yui2-yuiloader-debug.js | tlock/moodle | YUI.add('yui2-yahoo', function(Y) { Y.use('yui2-yuiloader'); }, '3.3.0' ,{});
YUI.add('yui2-get', function(Y) { Y.use('yui2-yuiloader'); }, '3.3.0' ,{"requires": ["yui2-yahoo"]});
YUI.add('yui2-yuiloader', function(Y) {
/*
Copyright (c) 2011, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
htt... |
src/svg-icons/action/delete.js | kittyjumbalaya/material-components-web | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ActionDelete = (props) => (
<SvgIcon {...props}>
<path d="M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z"/>
</SvgIcon>
);
ActionDelete = pure(ActionDelete);
ActionDelete.display... |
client/src/modules/Login/LoginPage.js | kvago36/graphql-relay | import React, { Component } from 'react';
import { gql, graphql, compose } from 'react-apollo';
import { Header } from 'semantic-ui-react';
import { connect } from 'react-redux';
import { LOGIN } from '../../auth/AuthConstants';
import Login from './Login';
import './LoginPage.css';
class LoginPage extends Component ... |
ajax/libs/forerunnerdb/1.3.43/fdb-core.min.js | dc-js/cdnjs | !function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};b[g][0].call(k.exports,function(a){var c=b[g][1][a];return e(c?c:a)},k,k.ex... |
ajax/libs/extjs/4.2.1/src/dd/DragTracker.js | bragma/cdnjs | /*
This file is part of Ext JS 4.2
Copyright (c) 2011-2013 Sencha Inc
Contact: http://www.sencha.com/contact
GNU General Public License Usage
This file may be used under the terms of the GNU General Public License version 3.0 as
published by the Free Software Foundation and appearing in the file LICENSE included in... |
src/routes/Auth/components/Auth.js | sadayuki-matsuno/pdf | import React from 'react'
import { connect } from 'react-redux'
import './Auth.scss'
// import { fbConfig } from '../../config/config.js'
import FacebookLogin from 'react-facebook-login'
import { fbAppId, fbScope } from '../../../config/config.js'
import { shouldAuth } from '../modules/auth'
//import { responseFacebook... |
ajax/libs/foundation/4.1.6/js/vendor/jquery.js | pvnr0082t/cdnjs | /*!
* jQuery JavaScript Library v1.9.1
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright 2005, 2012 jQuery Foundation, Inc. and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2013-2-4
*/
(function( window, undefined ) {
// Can't do t... |
src/containers/blurb.js | MoveOnOrg/mop-frontend | import React from 'react'
import PropTypes from 'prop-types'
import { text2paraJsx, ellipsize } from '../lib'
import { Blurb as BlurbComponent } from 'Theme/blurb'
const Blurb = ({ petition, source }) => {
const url = `/sign/${petition.name}?source=${source}`
const statement = text2paraJsx(ellipsize(petition.sum... |
src/Parser/Shaman/Elemental/Modules/Items/TheDeceiversBloodPact.js | hasseboulen/WoWAnalyzer | import React from 'react';
import Analyzer from 'Parser/Core/Analyzer';
import Combatants from 'Parser/Core/Modules/Combatants';
import ITEMS from 'common/ITEMS';
import SPELLS from 'common/SPELLS';
import ItemIcon from 'common/ItemIcon';
import ItemLink from 'common/ItemLink';
import { formatNumber } from 'common/for... |
app/packs/src/components/prediction/Content.js | ComPlat/chemotion_ELN | import React from 'react';
import PropTypes from 'prop-types';
import Select from 'react-select';
import { Row, Col } from 'react-bootstrap';
import UIActions from '../actions/UIActions';
import PredictionActions from '../actions/PredictionActions';
import ContentInputs from './ContentInputs';
import ContentOutputs fro... |
app/user/components/Navbar.js | in42/internship-portal | import React from 'react';
import { Button, Input, Grid, Menu, Sidebar } from 'semantic-ui-react';
import { NavLink } from 'react-router-dom';
import Auth from '../../auth/modules/Auth';
import BrowserHistory from '../../history';
import User from '../../auth/modules/User';
import './styles.scss';
export default clas... |
frontend/modules/list/components/AddItem.js | RyanNoelk/OpenEats | "use strict";
import React from 'react'
import PropTypes from 'prop-types'
import { injectIntl, defineMessages } from 'react-intl'
import {
ENTER_KEY
} from '../constants/ListStatus'
class AddItem extends React.Component {
constructor(props) {
super(props);
this.state = {
title: '',
};
}
... |
frontend/test/app/components/PastExperiments-test.js | mathjazz/testpilot | import React from 'react';
import { expect } from 'chai';
import { shallow } from 'enzyme';
import PastExperiments from '../../../src/app/components/PastExperiments';
describe('app/components/PastExperiments', () => {
const pastExperiments = [{ title: 'foo' }, { title: 'bar' }];
let subject;
beforeEach(functi... |
a-note-app/src/index.js | Remexllee/randr-practice | import React from 'react';
import ReactDOM from 'react-dom';
import {Provider} from 'react-redux';
import App from './components/App';
import configureStore from './store';
ReactDOM.render(
<Provider store={configureStore()}>
<App />
</Provider>,
document.getElementById('app')
);
|
local-cli/templates/HelloWorld/index.ios.js | satya164/react-native | /**
* Sample React Native App
* https://github.com/facebook/react-native
* @flow
*/
import React, { Component } from 'react';
import {
AppRegistry,
StyleSheet,
Text,
View
} from 'react-native';
export default class HelloWorld extends Component {
render() {
return (
<View style={styles.containe... |
app/components/ui/SignIn.js | sarahland/giveaway | import React from 'react';
import { hashHistory } from '../../config/routes';
import Validation from 'react-validation';
import validator from 'validator';
import validation from './validation';
import {Component, PropTypes} from 'react';
import { browserHistory } from 'react-router';
import firebase from '../../confi... |
src/js/components/DataTable/stories/MultiplePin.js | HewlettPackard/grommet | import React from 'react';
import { Box, DataTable, Grommet, grommet, Meter, Text } from 'grommet';
const data = [
{
id: 'mjbpiclthh8y',
poolName: 'Asup-array01-lvs (default)',
groupName: 'Asup',
arrays: 'asup-array01-lvs',
size: 16099511627776,
pinnable: 2099511627776,
pinned: 6995116277... |
ajax/libs/yui/3.7.1/event-focus/event-focus-min.js | CyrusSUEN/cdnjs | YUI.add("event-focus",function(e,t){function u(t,r,u){var a="_"+t+"Notifiers";e.Event.define(t,{_attach:function(i,s,o){return e.DOM.isWindow(i)?n._attach([t,function(e){s.fire(e)},i]):n._attach([r,this._proxy,i,this,s,o],{capture:!0})},_proxy:function(t,r,i){var s=t.target,f=t.currentTarget,l=s.getData(a),c=e.stamp(f.... |
app/components/IssueIcon/index.js | gihrig/react-boilerplate-logic | import React from 'react';
function IssueIcon(props) {
return (
<svg
height="1em"
width="0.875em"
className={props.className}
>
<path d="M7 2.3c3.14 0 5.7 2.56 5.7 5.7S10.14 13.7 7 13.7 1.3 11.14 1.3 8s2.56-5.7 5.7-5.7m0-1.3C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7S10.86 1 7 1z m1 3H6v... |
ajax/libs/yui/3.8.1/event-custom-base/event-custom-base-coverage.js | yogeshsaroya/cdnjs | if (typeof _yuitest_coverage == "undefined"){
_yuitest_coverage = {};
_yuitest_coverline = function(src, line){
var coverage = _yuitest_coverage[src];
if (!coverage.lines[line]){
coverage.calledLines++;
}
coverage.lines[line]++;
};
_yuitest_coverfunc = functio... |
docs/src/app/components/pages/components/Snackbar/Page.js | igorbt/material-ui | import React from 'react';
import Title from 'react-title-component';
import CodeExample from '../../../CodeExample';
import PropTypeDescription from '../../../PropTypeDescription';
import MarkdownElement from '../../../MarkdownElement';
import SnackbarReadmeText from './README';
import SnackbarExampleSimple from './... |
src/svg-icons/file/folder.js | IsenrichO/mui-with-arrows | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let FileFolder = (props) => (
<SvgIcon {...props}>
<path d="M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8l-2-2z"/>
</SvgIcon>
);
FileFolder = pure(FileFolder);
FileFolder.d... |
src/svg-icons/action/settings-input-antenna.js | verdan/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ActionSettingsInputAntenna = (props) => (
<SvgIcon {...props}>
<path d="M12 5c-3.87 0-7 3.13-7 7h2c0-2.76 2.24-5 5-5s5 2.24 5 5h2c0-3.87-3.13-7-7-7zm1 9.29c.88-.39 1.5-1.26 1.5-2.29 0-1.38-1.12-2.5-2.5-2.5S9.5 ... |
Week01-ReactBasics/main.js | bmeansjd/ISIT320_means2017 | import React from 'react';
import ReactDOM from 'react-dom';
import ReactBasics from './ReactBasics';
const root = document.getElementById('root');
ReactDOM.render(
<ReactBasics/>, root
);
|
ajax/libs/react/0.6.2/react.min.js | rteasdale/cdnjs | // Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modi... |
packages/material-ui-icons/src/DriveEta.js | cherniavskii/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<g><path d="M18.92 5.01C18.72 4.42 18.16 4 17.5 4h-11c-.66 0-1.21.42-1.42 1.01L3 11v8c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-1h12v1c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-8l-2.08-5.99zM6.5 15c-.83 0-1.5-.67-1.5-1.5S5.67... |
src/components/featured/feature-join.js | Vision100IT/v100it-template | import React from 'react';
import PropTypes from 'prop-types';
import {Element} from 'react-scroll';
import reformed from 'react-reformed';
import compose from 'react-reformed/lib/compose';
import validateSchema from 'react-reformed/lib/validateSchema';
import FaFacebook from 'react-icons/lib/fa/facebook';
import FaTwi... |
src/ModalHeader.js | roderickwang/react-bootstrap | import React from 'react';
import classNames from 'classnames';
class ModalHeader extends React.Component {
render() {
return (
<div
{...this.props}
className={classNames(this.props.className, this.props.modalClassName)}>
{ this.props.closeButton &&
<button
cla... |
src/shared/pages/App/Header/Header.js | suranartnc/react-universal-starter-kit | import React from 'react';
import { Link } from 'react-router';
import styles from './Header.scss';
import Account from './Account/Account'
const Header = (props) => (
<header className={styles['header']}>
<div className="container">
<div className={styles['bar']}>
<div className={styles['logo']}>... |
components/travelers-svg.js | WanderlandTravelers/wanderlandtravelers.github.io | import React from 'react'
export default class TravelersSVG extends React.Component {
render () {
return (
<svg id="travelers" viewBox="0 0 154.63471 38.800361">
<path
d="m 27.791579,5.3452446 c -1.666669,0 -3.28125,0.039062 -4.84375,0.1171874 -1.5625,0.078125 -3.027344,0.2213542 -4.3945... |
shared/components/CategoryHome.js | AndrewGibson27/react-fetch-boilerplate | import React, { Component } from 'react';
import { connect, PromiseState } from 'react-refetch';
import { Route, NavLink } from 'react-router-dom';
import StoryList from './StoryList';
import asyncComponent from '../utils/asyncComponent';
import { GridRow, ColumnThree } from '../styles/grid';
function stripCategorySl... |
src/containers/ListSpaceContainer.js | hoppispace/hoppi-space-web-app | import React from 'react';
const ListSpaceContainer = () => {
return (
<main>
<div className="container-fluid">
<h1>List Your Space!</h1>
<h2>Follow the guide to quickly get your space out there for the artistic community to find and book.</h2>
</div>... |
ajax/libs/react-slick/0.3.6/react-slick.js | khasinski/cdnjs | (function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("react"));
else if(typeof define === 'function' && define.amd)
define(["react"], factory);
else if(typeof exports === 'object')
exports["Slider"] = factory(... |
src/svg-icons/action/settings-input-component.js | barakmitz/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ActionSettingsInputComponent = (props) => (
<SvgIcon {...props}>
<path d="M5 2c0-.55-.45-1-1-1s-1 .45-1 1v4H1v6h6V6H5V2zm4 14c0 1.3.84 2.4 2 2.82V23h2v-4.18c1.16-.41 2-1.51 2-2.82v-2H9v2zm-8 0c0 1.3.84 2.4 2 2.... |
starter-resources/electron-react-boilerplate/app/containers/HomePage.js | JumpingRock/react-sandbox-site | // @flow
import React, { Component } from 'react';
import Home from '../components/Home';
export default class HomePage extends Component {
render() {
return (
<Home />
);
}
}
|
ajax/libs/angular.js/0.9.13/angular-scenario.js | fbender/cdnjs | /*!
* jQuery JavaScript Library v1.4.2
* http://jquery.com/
*
* Copyright 2010, John Resig
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
* Includes Sizzle.js
* http://sizzlejs.com/
* Copyright 2010, The Dojo Foundation
* Released under the MIT, BSD, and GPL Licenses.
... |
docs/app/Examples/collections/Table/Variations/TableExampleVerticalAlign.js | koenvg/Semantic-UI-React | import React from 'react'
import { Table } from 'semantic-ui-react'
const TableExampleVerticalAlign = () => {
return (
<Table striped>
<Table.Header>
<Table.Row>
<Table.HeaderCell>Name</Table.HeaderCell>
<Table.HeaderCell>Status</Table.HeaderCell>
<Table.HeaderCell>Not... |
src/PropTypes.js | niekert/soundify | import 'react';
import PropTypes from 'prop-types';
import { INITIAL, PENDING, OK, ERROR } from 'app-constants';
export const status = PropTypes.oneOf([INITIAL, PENDING, OK, ERROR]);
|
src/svg-icons/action/pregnant-woman.js | mit-cml/iot-website-source | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ActionPregnantWoman = (props) => (
<SvgIcon {...props}>
<path d="M9 4c0-1.11.89-2 2-2s2 .89 2 2-.89 2-2 2-2-.89-2-2zm7 9c-.01-1.34-.83-2.51-2-3 0-1.66-1.34-3-3-3s-3 1.34-3 3v7h2v5h3v-5h3v-4z"/>
</SvgIcon>
);
... |
src/week.js | ugiacoman/react-native-calendar | import React from 'react'
import { View, StyleSheet } from 'react-native'
export default class Week extends React.Component {
render () {
return (
<View style={styles.rowContainer}>
{this.props.days}
</View>
)
}
}
const styles = StyleSheet.create({
rowContainer: {
flexDirection: '... |
src/scenes.js | teamfa/react-native-starter-app | import React from 'react';
import { Actions, Scene } from 'react-native-router-flux';
import Home from 'Home';
import ChildScene from 'ChildScene';
const scenes = Actions.create(
<Scene key="root">
<Scene key="home" title="Home" component={Home} initial />
<Scene key="child" title="Child Scene" component={C... |
webroot/static/theme/cloud/js/tablecloth/js/jquery-1.7.2.min.js | ptphp/PtTheme | /*! jQuery v1.7.2 jquery.com | jquery.org/license */
(function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cu(a){if(!cj[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){ck||(ck=c.createElement("iframe"),ck.frameBorde... |
node_modules/react-taco-table/site/src/components/ExampleColumnGroups.js | premcool/getmydeal | import React from 'react';
import { TacoTable, DataType, SortDirection, Formatters } from 'react-taco-table';
import cellLinesData from '../data/cell_lines.json';
import './ExampleColumnGroups.scss';
/**
* An example demonstrating how to use column groups
*/
const columns = [
{
id: 'name',
value: rowData... |
ajax/libs/js-data/2.4.0/js-data.js | holtkamp/cdnjs | /*!
* js-data
* @version 2.4.0 - Homepage <http://www.js-data.io/>
* @author Jason Dobry <jason.dobry@gmail.com>
* @copyright (c) 2014-2015 Jason Dobry
* @license MIT <https://github.com/js-data/js-data/blob/master/LICENSE>
*
* @overview Robust framework-agnostic data store.
*/
(function webpackUniversalModul... |
lib/svg-icons/av/pause.js | checkraiser/material-ui2 | 'use strict';
var React = require('react');
var SvgIcon = require('../../svg-icon');
var AvPause = React.createClass({
displayName: 'AvPause',
render: function render() {
return React.createElement(
SvgIcon,
this.props,
React.createElement('path', { d: 'M6 19h4V5H6v14zm8-14v14h4V5h-4z' })
... |
app/reducers/selectedProductReducer.js | ellejeong/benefeel | import React from 'react';
import {SELECT_PRODUCT} from 'APP/app/constants';
const initialState = {};
export default function selectedProductReducer(state = initialState, action) {
switch (action.type) {
case SELECT_PRODUCT:
return action.selectedProduct;
default:
return state;
}
}
|
ajax/libs/angular-azure-mobile-service/1.0.1/angular-azure-mobile-service.js | liubo404/cdnjs | 'use strict';
angular.module('azure-mobile-service.module', [])
.service('Azureservice', function Azureservice($q) {
var API_URL = 'https://<AZURE_APP_NAME>.azure-mobile.net/';
var API_KEY = '<AZURE_APP_API_KEY>';
var VAILD_OAUTH_PROVIDERS = ['google', 'twitter', 'facebook', 'windowsaccount', 'windowsaz... |
packages/material-ui-icons/src/MailOutline.js | AndriusBil/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from 'material-ui/SvgIcon';
let MailOutline = props =>
<SvgIcon {...props}>
<path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 14H4V8l8 5 8-5v10zm-8-7L4 6h16l-8 5z" />
</SvgIcon>;
MailOutli... |
src/pages/404.js | kbrgl/kbrgl.github.io | import React from 'react'
import { Link } from 'gatsby'
import { Row, Column } from '../components/grid'
import Layout from '../components/layout'
const IndexPage = () => (
<Layout>
<Row>
<Column size="six" offset="three">
<h1 style={{ marginTop: '4rem' }}>Not Found.</h1>
<p>
Wha... |
node_modules/@material-ui/core/esm/NativeSelect/NativeSelectInput.js | pcclarke/civ-techs | import _extends from "@babel/runtime/helpers/extends";
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
import React from 'react';
import PropTypes from 'prop-types';
import clsx from 'clsx';
/**
* @ignore - internal component.
*/
var NativeSelectInput = React.forwardRef(functio... |
packages/material-ui-icons/src/CastConnected.js | dsslimshaddy/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from 'material-ui/SvgIcon';
let CastConnected = props =>
<SvgIcon {...props}>
<path d="M1 18v3h3c0-1.66-1.34-3-3-3zm0-4v2c2.76 0 5 2.24 5 5h2c0-3.87-3.13-7-7-7zm18-7H5v1.63c3.96 1.28 7.09 4.41 8.37 8.37H19V7zM1 10v2c4.97 0 9 4.03 9 9h2c... |
tests/react_abstract_component/double_wrapped.js | samwgoldman/flow | //@flow
import * as React from 'react';
class MyComponent extends React.Component<{| foo: number |}> {
render() {
return this.props.foo;
}
}
function wrapper<TProps: {}, TInstance>(
base: React$AbstractComponent<TProps, TInstance>,
): React$AbstractComponent<TProps, TInstance> {
return base;
}
function w... |
docs/src/app/components/pages/components/DatePicker/ExampleControlled.js | ArcanisCz/material-ui | import React from 'react';
import DatePicker from 'material-ui/DatePicker';
/**
* `DatePicker` can be implemented as a controlled input,
* where `value` is handled by state in the parent component.
*/
export default class DatePickerExampleControlled extends React.Component {
constructor(props) {
super(props)... |
node_modules/react-router/es/IndexRedirect.js | Rabbit884/reactapp | import React from 'react';
import warning from './routerWarning';
import invariant from 'invariant';
import Redirect from './Redirect';
import { falsy } from './InternalPropTypes';
var _React$PropTypes = React.PropTypes,
string = _React$PropTypes.string,
object = _React$PropTypes.object;
/**
* An <IndexRedir... |
ajax/libs/6to5/2.9.3/browser-polyfill.js | wenliang-developer/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/material-ui/4.11.4/es/internal/svg-icons/IndeterminateCheckBox.min.js | cdnjs/cdnjs | import*as React from"react";import createSvgIcon from"../../utils/createSvgIcon";export default createSvgIcon(React.createElement("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox"); |
node_modules/react-icons/fa/battery-4.js | bairrada97/festival |
import React from 'react'
import Icon from 'react-icon-base'
const FaBattery4 = props => (
<Icon viewBox="0 0 40 40" {...props}>
<g><path d="m33.6 13.3v13.4h-29.1v-13.4h29.1z m2.3 10.1h2.2v-6.8h-2.2v-5q0-0.2-0.2-0.4t-0.4-0.2h-32.5q-0.2 0-0.4 0.2t-0.2 0.4v16.8q0 0.2 0.2 0.4t0.4 0.2h32.5q0.2 0 0.4-0.2t0.2-0... |
src/Stepper/StepConnector.spec.js | nathanmarks/material-ui | /* eslint-env mocha */
import React from 'react';
import {shallow} from 'enzyme';
import {assert} from 'chai';
import {PlainStepConnector as StepConnector} from './StepConnector';
import getMuiTheme from '../styles/getMuiTheme';
describe('<StepConnector />', () => {
const muiTheme = getMuiTheme();
const themedShal... |
ajax/libs/css3pie/1.0beta5/PIE_uncompressed.js | joaojeronimo/cdnjs | /*
PIE: CSS3 rendering for IE
Version 1.0beta5
http://css3pie.com
Dual-licensed for use under the Apache License Version 2.0 or the General Public License (GPL) Version 2.
*/
(function(){
var doc = document;var PIE = window['PIE'];
if( !PIE ) {
PIE = window['PIE'] = {
CSS_PREFIX: '-pie-',
STYLE_PRE... |
ajax/libs/rxjs/2.3.24/rx.compat.js | sufuf3/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... |
ajax/libs/analytics.js/2.3.10/analytics.min.js | rivanvx/cdnjs | (function outer(modules,cache,entries){var global=function(){return this}();function require(name,jumped){if(cache[name])return cache[name].exports;if(modules[name])return call(name,require);throw new Error('cannot find module "'+name+'"')}function call(id,require){var m=cache[id]={exports:{}};var mod=modules[id];var n... |
ajax/libs/analytics.js/2.3.7/analytics.min.js | WebReflection/cdnjs | (function outer(modules,cache,entries){var global=function(){return this}();function require(name,jumped){if(cache[name])return cache[name].exports;if(modules[name])return call(name,require);throw new Error('cannot find module "'+name+'"')}function call(id,require){var m=cache[id]={exports:{}};var mod=modules[id];var n... |
pha/src/tabelaPhaBundle/Resources/public/js/jquery.js | DelBianco/tabelaPha | /*! jQuery v1.11.3 | (c) 2005, 2015 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... |
Web Services and Cloud/Slides and demos/Archive/PaaS-Cloud-Hosting-for-.NET-and-Cloud-Databases/Demo/Posted/Posted/Scripts/jquery-1.7.1.min.js | EmilMitev/Telerik-Academy | /*! jQuery v1.7.1 jquery.com | jquery.org/license */
(function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cv(a){if(!ck[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){cl||(cl=c.createElement("iframe"),cl.frameBorde... |
packages/material-ui-icons/src/PetsTwoTone.js | allanalexandre/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><circle cx="4.5" cy="9.5" r="2.5" /><circle cx="9" cy="5.5" r="2.5" /><circle cx="15" cy="5.5" r="2.5" /><circle cx="19.5" cy="9.5" r="2.5" /><path d="M1... |
app/jsx/assignments_2/student/components/AttemptType/MediaAttempt.js | djbender/canvas-lms | /*
* Copyright (C) 2019 - 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... |
src/client/auth/requireauth.react.js | sljuka/bucka-portfolio | import Component from '../components/component.react';
import React from 'react';
import {usersCursor} from '../state';
// Higher order component.
// https://medium.com/@dan_abramov/mixins-are-dead-long-live-higher-order-components-94a0d2f9e750
export default function requireAuth(BaseComponent) {
class Authenticate... |
src/js/practice/App_state_props.js | mirandagithub/Egg | import React from 'react';
//import MessageBox from './components/MessageBox';
var App = React.createClass( {
getInitialState: function(){
return {
txt: '', id: 0
};
},
updateTxt: function(e){
this.setState({txt: e.target.value});
},
/* getDefaultProps() {
... |
packages/material-ui-icons/src/BluetoothDisabled.js | AndriusBil/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from 'material-ui/SvgIcon';
let BluetoothDisabled = props =>
<SvgIcon {...props}>
<path d="M13 5.83l1.88 1.88-1.6 1.6 1.41 1.41 3.02-3.02L12 2h-1v5.03l2 2v-3.2zM5.41 4L4 5.41 10.59 12 5 17.59 6.41 19 11 14.41V22h1l4.29-4.29 2.3 2.29L20 ... |
docs/src/pages/customization/color/ColorTool.js | mbrookes/material-ui | import * as React from 'react';
import PropTypes from 'prop-types';
import { rgbToHex, useTheme } from '@material-ui/core/styles';
import * as colors from '@material-ui/core/colors';
import Box from '@material-ui/core/Box';
import Grid from '@material-ui/core/Grid';
import Input from '@material-ui/core/Input';
import R... |
src/svg-icons/maps/restaurant.js | skarnecki/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let MapsRestaurant = (props) => (
<SvgIcon {...props}>
<path d="M11 9H9V2H7v7H5V2H3v7c0 2.12 1.66 3.84 3.75 3.97V22h2.5v-9.03C11.34 12.84 13 11.12 13 9V2h-2v7zm5-3v8h2.5v8H21V2c-2.76 0-5 2.24-5 4z"/>
</SvgIcon>
)... |
node_modules/react/dist/react.js | wrleskovec/react-week-scheduler | /**
* React v15.4.2
*/
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}... |
src/svg-icons/maps/local-drink.js | rhaedes/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let MapsLocalDrink = (props) => (
<SvgIcon {...props}>
<path d="M3 2l2.01 18.23C5.13 21.23 5.97 22 7 22h10c1.03 0 1.87-.77 1.99-1.77L21 2H3zm9 17c-1.66 0-3-1.34-3-3 0-2 3-5.4 3-5.4s3 3.4 3 5.4c0 1.66-1.34 3-3 3zm6.... |
ajax/libs/mediaelement/2.9.4/jquery.js | emmy41124/cdnjs | /*!
* jQuery JavaScript Library v1.7
* http://jquery.com/
*
* Copyright 2011, John Resig
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
* Includes Sizzle.js
* http://sizzlejs.com/
* Copyright 2011, The Dojo Foundation
* Released under the MIT, BSD, and GPL Licenses.
*... |
test_templates/containerTestTemplate.js | Mikeysax/mikey | import React from 'react';
import { mount } from 'enzyme';
import { expect } from 'chai';
import { Provider } from 'react-redux';
// Container
import __Name__ from '__Path__';
describe('__Name__ __FileType__', () => {
it('Waiting for Testing', () => {
return true;
});
});
|
src/client/todos/todo.react.js | cazacugmihai/este | import './todo.styl';
import Component from '../components/component.react';
// import Editable from '../components/editable.react';
import React from 'react';
export default class Todo extends Component {
static propTypes = {
actions: React.PropTypes.object.isRequired,
todo: React.PropTypes.object.isRequir... |
src/pages/tags/index.js | hunterclarke/hunterclarke.me | import React from 'react'
import { kebabCase } from 'lodash'
import Helmet from 'react-helmet'
import { Link, graphql } from 'gatsby'
import Layout from '../../components/Layout'
const TagsPage = ({
data: { allMarkdownRemark: { group }, site: { siteMetadata: { title } } },
}) => (
<Layout>
<section className="... |
src/stores/HexaCountStore.js | alexmasselot/medlineGeoWebFrontend | import React from 'react';
import {EventEmitter} from 'events';
import assign from 'object-assign';
import httpClient from '../core/HttpClient';
import dispatcher from '../core/Dispatcher';
import Constants from '../constants/Constants';
import BaseStore from './BaseStore'
var _data = {};
const store = assign({}, Ba... |
src/components/Navbar/Margin.js | orionsoft/parts | import React from 'react'
export default class Margin extends React.Component {
render () {
return <div className='os_navbar_margin' />
}
}
|
src/getHead.js | expdevelop/exp-template | import React from 'react'
// import apple57 from 'images/favicon/apple-icon-57x57.png'
// import apple60 from 'images/favicon/apple-icon-60x60.png'
// import apple72 from 'images/favicon/apple-icon-72x72.png'
// import apple76 from 'images/favicon/apple-icon-76x76.png'
// import apple114 from 'images/favicon/apple-icon... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.