path stringlengths 5 304 | repo_name stringlengths 6 79 | content stringlengths 27 1.05M |
|---|---|---|
ajax/libs/backbone-react-component/0.6.4/backbone-react-component-min.js | nesk/cdnjs | "use strict";!function(a,b){if("function"==typeof define&&define.amd)define(["react","backbone","underscore"],b);else if("undefined"!=typeof module&&module.exports){var c=require("react"),d=require("backbone"),e=require("underscore");module.exports=b(c,d,e)}else b(a.React,a.Backbone,a._)}(this,function(a,b,c){function ... |
src/docs/components/table/TableDoc.js | karatechops/grommet-docs | // (C) Copyright 2014-2015 Hewlett Packard Enterprise Development LP
import React, { Component } from 'react';
import Table from 'grommet/components/Table';
import TableRow from 'grommet/components/TableRow';
import TableHeader from 'grommet/components/TableHeader';
import Anchor from 'grommet/components/Anchor';
impo... |
ajax/libs/jquery.fancytree/2.8.0/jquery.fancytree-all.min.js | chrisyip/cdnjs | /*! jQuery Fancytree Plugin - 2.8.0 - 2015-02-08T17:56
* https://github.com/mar10/fancytree
* Copyright (c) 2015 Martin Wendt; Licensed MIT */
(function( factory ) {
if ( typeof define === "function" && define.amd ) {
define( [ "jquery" ], factory );
} else {
factory( jQuery );
}
}(function( $ ) {
!function... |
pages/premium-themes/tweeper/index.js | Kagami/material-ui | import 'docs/src/modules/components/bootstrap';
// --- Post bootstrap -----
import React from 'react';
import AppTheme from 'docs/src/modules/components/AppTheme';
import Tweeper from 'docs/src/pages/premium-themes/tweeper/pages/tweeper/Profile';
function Page() {
return (
<AppTheme
title="Paperbase theme ... |
packages/material-ui-icons/src/Share.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="M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.3... |
docs/pages/api/list-item-icon.js | kybarg/material-ui | import React from 'react';
import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs';
import markdown from './list-item-icon.md';
export default function Page() {
return <MarkdownDocs markdown={markdown} />;
}
|
client/src/components/common/InvalidRepo.js | Wiredcraft/jekyllpro-cms | import React from 'react';
const InvalidRepo = props => {
return (
<section id="content" className="empty">
<h2>Uh-oh! Something's wrong...</h2>
<p>
This doesn't look like a Jekyll site (we couldn't find a{' '}
<code>_config.yml</code> file). Double check you have the right
re... |
src/svg-icons/action/check-circle.js | owencm/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ActionCheckCircle = (props) => (
<SvgIcon {...props}>
<path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/>
</SvgIcon>
);
ActionChec... |
demo/src/index.js | alsiola/react-doc-props | import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';
import './index.css';
ReactDOM.render(
<App />,
document.getElementById('root')
);
|
ajax/libs/react-bootstrap-typeahead/2.1.1/react-bootstrap-typeahead.js | extend1994/cdnjs | (function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("react"), require("react-dom"));
else if(typeof define === 'function' && define.amd)
define(["react", "react-dom"], factory);
else if(typeof exports === 'obje... |
assets/jqwidgets/demos/react/app/knob/radialgradient/app.js | juannelisalde/holter | import React from 'react';
import ReactDOM from 'react-dom';
import JqxKnob from '../../../jqwidgets-react/react_jqxknob.js';
import JqxNumberInput from '../../../jqwidgets-react/react_jqxnumberinput.js';
class App extends React.Component {
componentDidMount() {
this.refs.myNumberInput.on('change', (event... |
src/index.js | juandjara/open-crono | import React from 'react';
import ReactDOM from 'react-dom';
import Root from './Root'
ReactDOM.render(
<Root />,
document.getElementById('root')
);
|
src/isomorphic/deprecated/__tests__/joinClasses-test.js | wesbos/react | /**
* Copyright 2013-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... |
javascripts/components/Owl.js | undefinerds/libris | import React, { Component } from 'react';
import style from '../../stylesheets/owl.css';
export default class Owl extends Component {
render() {
return (
<div {...this.props} className={`owl ${this.props.className}`}>
<div className="ear ear-left"></div>
<div className="ear ear-right"></div... |
docs/app/Examples/elements/Header/Variations/HeaderExampleColored.js | mohammed88/Semantic-UI-React | import React from 'react'
import { Header } from 'semantic-ui-react'
const HeaderExampleColored = () => (
<div>
<Header as='h4' color='red'>Red</Header>
<Header as='h4' color='orange'>Orange</Header>
<Header as='h4' color='yellow'>Yellow</Header>
<Header as='h4' color='olive'>Olive</Header>
<Head... |
webpack/scenes/ModuleStreams/Details/ModuleDetailsSchema.js | mccun934/katello | import React from 'react';
import { translate as __ } from 'foremanReact/common/I18n';
import ModuleStreamDetailArtifacts from './ModuleStreamDetailArtifacts';
import ModuleStreamDetailProfiles from './Profiles/ModuleStreamDetailProfiles';
import ContentDetailInfo from '../../../components/Content/Details/ContentDetail... |
demos/blog/assets/4d980ce2/jquery.min.js | giordi15s/MVCPrueba | /*! jQuery v1.8.3 jquery.com | jquery.org/license */
(function(e,t){function _(e){var t=M[e]={};return v.each(e.split(y),function(e,n){t[n]=!0}),t}function H(e,n,r){if(r===t&&e.nodeType===1){var i="data-"+n.replace(P,"-$1").toLowerCase();r=e.getAttribute(i);if(typeof r=="string"){try{r=r==="true"?!0:r==="false"?!1:r===... |
directed_forgetting_with_flanker/experiment.js | jkl071/expfactory-experiments | /* ************************************ */
/* Define helper functions */
/* ************************************ */
function addID() {
jsPsych.data.addDataToLastTrial({exp_id: 'directed_forgetting_with_flanker'})
}
function evalAttentionChecks() {
var check_percent = 1
if (run_attention_checks) {
var attention_c... |
bootstart/Nice-admin/assets/fullcalendar/jquery/jquery-1.8.1.min.js | 976112643/manor | /*! jQuery v@1.8.1 jquery.com | jquery.org/license */
(function(a,b){function G(a){var b=F[a]={};return p.each(a.split(s),function(a,c){b[c]=!0}),b}function J(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(I,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==... |
src/svg-icons/action/zoom-in.js | mit-cml/iot-website-source | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ActionZoomIn = (props) => (
<SvgIcon {...props}>
<path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 1... |
SchoolSystem/SchoolSystem.WebForms/Scripts/jquery-1.10.2.min.js | HlebForms/SchoolSystemProject | /* NUGET: BEGIN LICENSE TEXT
*
* Microsoft grants you the right to use these script files for the sole
* purpose of either: (i) interacting through your browser with the Microsoft
* website or online service, subject to the applicable licensing or use
* terms; or (ii) using the files as included with a Microsoft p... |
node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-pngquant/node_modules/pngquant-bin/node_modules/bin-build/node_modules/download/node_modules/decompress/node_modules/extname/node_modules/underscore.string/test/test_underscore/vendor/jquery.js | tgelles/sdss-public | /*!
* jQuery JavaScript Library v1.7.2
* 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.
... |
src/components/App.js | yosiat/gc-flags-viz | import React from 'react'
import { connect } from 'react-redux'
@connect(s => s)
export default class App extends React.Component {
render() {
return <h1>Hello {this.props.counter.counter}</h1>
}
}
|
src/internal/ExpandTransitionChild.js | pradel/material-ui | import React from 'react';
import ReactDOM from 'react-dom';
import transitions from '../styles/transitions';
class ExpandTransitionChild extends React.Component {
static propTypes = {
children: React.PropTypes.node,
enterDelay: React.PropTypes.number,
style: React.PropTypes.object,
};
static defaul... |
src/svg-icons/image/straighten.js | verdan/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ImageStraighten = (props) => (
<SvgIcon {...props}>
<path d="M21 6H3c-1.1 0-2 .9-2 2v8c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm0 10H3V8h2v4h2V8h2v4h2V8h2v4h2V8h2v4h2V8h2v8z"/>
</SvgIcon>
);
ImageStr... |
public/assets/advanced-datatable/extras/FixedColumns/docs/media/js/jquery.js | insionng/zenpress | /*!
* jQuery JavaScript Library v1.5.1
* 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.
... |
ajax/libs/video.js/5.0.0-rc.89/video.novtt.js | calebmer/cdnjs | (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}else{g=this}g.videojs = f()}... |
modules/Route.js | andreftavares/react-router | import React from 'react'
import warning from 'warning'
import invariant from 'invariant'
import { createRouteFromReactElement } from './RouteUtils'
import { component, components } from './PropTypes'
const { string, bool, func } = React.PropTypes
/**
* A <Route> is used to declare which components are rendered to t... |
ajax/libs/vue/0.12.0-rc2/vue.js | Teino1978-Corp/Teino1978-Corp-cdnjs | /**
* Vue.js v0.12.0-rc2
* (c) 2015 Evan You
* Released under the MIT License.
*/
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
else if(typeof define === 'function' && define.amd)
define(factory);
else if... |
web/src/components/Help.js | jhonfredynova/Scaffolding-Nodejs-Reactjs | import React, { Component } from 'react';
import { FormattedMessage } from 'react-intl';
class Help extends Component {
render() {
return (
<h1 className="text-center"><FormattedMessage id={ 'help' } /></h1>
);
}
}
export default Help;
|
dashboard-ui/app/components/drawer/cloudEvent.js | CloudBoost/cloudboost | /* eslint-disable no-undef
*/
import React from 'react';
import { Card, CardHeader, CardMedia, CardTitle, CardText } from 'material-ui/Card';
class CloudEvent extends React.Component {
constructor () {
super();
this.state = {
};
}
copyToClipboard = (element) => () => {
var $temp = $('<input>')... |
app/packs/src/components/Well.js | ComPlat/chemotion_ELN | import React, { Component } from 'react';
import PropTypes from 'prop-types';
import SVG from 'react-inlinesvg';
export default class Well extends Component {
render() {
const {sample, active, label} = this.props;
let displayLabel = '';
const className = (active) ? "well-molecule molecule-selected" : "w... |
analysis/warlockdestruction/src/modules/features/Checklist/Module.js | yajinni/WoWAnalyzer | import React from 'react';
import BaseChecklist from 'parser/shared/modules/features/Checklist/Module';
import CastEfficiency from 'parser/shared/modules/CastEfficiency';
import Combatants from 'parser/shared/modules/Combatants';
import PreparationRuleAnalyzer from 'parser/shared/modules/features/Checklist/Preparation... |
src/commons/column.js | jessy1092/react-semantify |
import React from 'react';
import filter from '../filter';
import Div from './div';
const defaultClassName = 'column';
const componentName = 'Column';
const Column = new filter(Div)
.classGenerator(defaultClassName)
.getComposeComponent(componentName);
export default Column;
|
src/components/partials/LegacyCard.js | MattMcFarland/codepix-client | import React from 'react';
import { PastaLink, Expander, Icon } from './Elements';
const hljs = require('highlight.js');
function highlight(txt) {
return {__html: hljs.highlightAuto(txt).value};
}
function windowPath() {
return window.location.protocol + '//' +
window.location.host + '/';
}
export const Le... |
js/components/developer/create-job-screen/radioWithNote.js | justarrived/p2p-client | import React from 'react';
import { ListItem, Radio, Left, Right, Text } from 'native-base';
// Radio button list item with title and note.
const RadioWithNote = ({ title, note, selected, onPress }) =>
<ListItem selected={selected} onPress={onPress} >
<Left>
<Radio selected={selected} onPress={onPress} />
... |
src/components/Feed/FeedDescription/index.js | PowerlineApp/powerline-rn | import React, { Component } from 'react';
import { Actions } from 'react-native-router-flux';
import { View, TouchableOpacity, Linking } from 'react-native';
import { Text, Left, Body, CardItem, Label, Icon } from 'native-base';
import { parseString } from 'react-native-xml2js';
import ParsedText from './ParsedText';
... |
share/public/swagger-ui/swagger-ui.js | netdisco/netdisco | (function webpackUniversalModuleDefinition(root,factory){if(typeof exports==="object"&&typeof module==="object")module.exports=factory(require("deep-extend"),require("immutable"),require("css.escape"),require("memoizee"),require("stream"),require("base64-js"),require("ieee754"),require("isarray"),require("react"),requi... |
app/javascript/mastodon/features/home_timeline/index.js | robotstart/mastodon | import React from 'react';
import { connect } from 'react-redux';
import PropTypes from 'prop-types';
import StatusListContainer from '../ui/containers/status_list_container';
import Column from '../ui/components/column';
import { defineMessages, injectIntl, FormattedMessage } from 'react-intl';
import ColumnSettingsCo... |
src/components/VmDetails/CardEditButton.js | mareklibra/userportal | import React from 'react'
import PropTypes from 'prop-types'
import {
Icon,
noop,
OverlayTrigger,
Tooltip,
} from 'patternfly-react'
import style from './style.css'
import OverlayTooltip from '../OverlayTooltip'
/**
* Render the edit icon/button to enable the editing of the content of a card.
*
* Once enab... |
packages/cp-frontend/test/unit/components/manifest/name.js | yldio/copilot | /**
* @jest-environment jsdom
*/
import React from 'react';
import renderer from 'react-test-renderer';
import 'jest-styled-components';
import { Store } from '../../mocks';
import { reduxForm } from 'redux-form';
import { Name } from '@components/manifest';
const TestNameForm = reduxForm({ form: 'testNameForm' })... |
src/components/Feedback/Feedback.js | mcfa77y/isla_de_pescua | /**
* 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 withStyles from 'isomorp... |
src/parser/deathknight/blood/modules/features/AlwaysBeCasting.js | sMteX/WoWAnalyzer | import React from 'react';
import CoreAlwaysBeCasting from 'parser/shared/modules/AlwaysBeCasting';
import SPELLS from 'common/SPELLS';
import { formatPercentage } from 'common/format';
import { STATISTIC_ORDER } from 'interface/others/StatisticBox';
import SpellLink from 'common/SpellLink';
class AlwaysBeCasting ex... |
server/node_modules/react-scripts/template/src/App.js | Atanasov86/Car-System | import React, { Component } from 'react';
import logo from './logo.svg';
import './App.css';
class App extends Component {
render() {
return (
<div className="App">
<div className="App-header">
<img src={logo} className="App-logo" alt="logo" />
<h2>Welcome to React</h2>
... |
dva/cnode/src/components/Example.js | imuntil/React | import React from 'react';
const Example = () => {
return (
<div>
Example
</div>
);
};
Example.propTypes = {
};
export default Example;
|
examples/react-reload-docker/app/src/components/HelloWorld.js | GoogleContainerTools/skaffold | import React from 'react';
import '../styles/HelloWorld.css';
export const HelloWorld = () => (
<div>
<h1>Hello world!</h1>
</div>
);
|
client/src/components/Loading.js | fmoliveira/rexql-boilerplate | import React from 'react'
import { FormatMessage } from 'react-easy-intl'
export default () => (
<div className='has-text-centered'>
<h1><FormatMessage>Loading, please wait...</FormatMessage></h1>
</div>
) |
ajax/libs/vue/2.3.0/vue.runtime.esm.js | joeyparrish/cdnjs | /*!
* Vue.js v2.3.0
* (c) 2014-2017 Evan You
* Released under the MIT License.
*/
/* */
// these helpers produces better vm code in JS engines due to their
// explicitness and function inlining
function isUndef (v) {
return v === undefined || v === null
}
function isDef (v) {
return v !== undefined && v !== ... |
Examples/UIExplorer/SwitchIOSExample.js | noif/react-native | /**
* The examples provided by Facebook are for non-commercial testing and
* evaluation purposes only.
*
* Facebook reserves all rights not expressly granted.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
... |
client/components/new-words/OtherUserWords.js | wordupapp/wordup | import React from 'react';
import { connect } from 'react-redux';
import { Container, Grid, Message, Button } from 'semantic-ui-react';
import WordDetailPage from './WordDetail';
/**
* COMPONENT STYLE
*/
const styles = {
buttonGroup: {
padding: '3em 5em 4em 5em',
},
infoMessage: {
maxWidth: '42%',
... |
ajax/libs/glamorous/3.5.0/glamorous.umd.min.js | jdh8/cdnjs | !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("react"),require("glamor")):"function"==typeof define&&define.amd?define(["react","glamor"],t):e.glamorous=t(e.React,e.Glamor)}(this,function(e,t){"use strict";function n(e){return null==e||"function"!=typeof e&&"object"!=typeo... |
src/routes/TaxCalc.js | joshhunt/money | import React, { Component } from 'react';
import {Currency, Percent} from './../common';
import LightTheme from 'material-ui/lib/styles/raw-themes/light-raw-theme';
import TextField from 'material-ui/lib/text-field'
import ReactCSSTransitionGroup from 'react-addons-css-transition-group';
import styles from './../sty... |
src/svg-icons/places/beach-access.js | pomerantsev/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let PlacesBeachAccess = (props) => (
<SvgIcon {...props}>
<path d="M13.127 14.56l1.43-1.43 6.44 6.443L19.57 21zm4.293-5.73l2.86-2.86c-3.95-3.95-10.35-3.96-14.3-.02 3.93-1.3 8.31-.25 11.44 2.88zM5.95 5.98c-3.94 3.95... |
ajax/libs/rxjs/2.4.8/rx.compat.js | KyleMit/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
};
... |
src/svg-icons/social/whatshot.js | pomerantsev/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let SocialWhatshot = (props) => (
<SvgIcon {...props}>
<path d="M13.5.67s.74 2.65.74 4.8c0 2.06-1.35 3.73-3.41 3.73-2.07 0-3.63-1.67-3.63-3.73l.03-.36C5.21 7.51 4 10.62 4 14c0 4.42 3.58 8 8 8s8-3.58 8-8C20 8.61 17.... |
build/webpack.dev.config.js | nanyou-environment/enBackEnd | const webpack = require('webpack')
const config = require('../configs')
// const CleanWebpackPlugin = require('clean-webpack-plugin')
const OpenBrowserPlugin = require('open-browser-webpack-plugin')
const HtmlWebpackPlugin = require('html-webpack-plugin')
// var Dashboard = require('webpack-dashboard')
// var Dashboard... |
ajax/libs/react-native-web/0.13.4/cjs/hooks/usePressEvents/PressResponder.js | cdnjs/cdnjs | /**
* 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.
*
*
* @format
*/
'use strict';
exports.__esModule = true;
exports.default = void 0;
var DELAY = 'DELAY';
var ERROR = 'ERROR';
var... |
src/WebApp.js | Tsarpf/reaktive | import Cycle from 'cycle-react';
import ReactDOM from 'react-dom';
import React from 'react'; // eslint-disable-line no-unused-vars
import Application from './containers/application';
import { browserHistory } from 'react-router';
import Rx from 'rx';
const Main = Cycle.component( 'Main', () => {
return Rx.Observabl... |
django/webcode/webcode/frontend/node_modules/react-bootstrap/es/DropdownMenu.js | OpenKGB/webcode | import _extends from 'babel-runtime/helpers/extends';
import _objectWithoutProperties from 'babel-runtime/helpers/objectWithoutProperties';
import _Array$from from 'babel-runtime/core-js/array/from';
import _classCallCheck from 'babel-runtime/helpers/classCallCheck';
import _possibleConstructorReturn from 'babel-runtim... |
src/svg-icons/action/rounded-corner.js | pradel/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ActionRoundedCorner = (props) => (
<SvgIcon {...props}>
<path d="M19 19h2v2h-2v-2zm0-2h2v-2h-2v2zM3 13h2v-2H3v2zm0 4h2v-2H3v2zm0-8h2V7H3v2zm0-4h2V3H3v2zm4 0h2V3H7v2zm8 16h2v-2h-2v2zm-4 0h2v-2h-2v2zm4 0h2v-2h-2v... |
pootle/static/js/auth/components/AccountActivation.js | phlax/pootle | /*
* Copyright (C) Pootle contributors.
*
* This file is a part of the Pootle project. It is distributed under the GPL3
* or later license. See the LICENSE file for a copy of the license and the
* AUTHORS file for copyright and authorship information.
*/
import React from 'react';
import { PureRenderMixin } from... |
app/src/common/FloatingButton.js | BlackBoxVision/react-native-redux-todo | import React from 'react';
import PropTypes from 'prop-types';
import Icon from 'react-native-vector-icons/MaterialIcons';
import { Fab } from 'native-base';
export default class FloatingButton extends React.Component {
static propTypes = {
onPress: PropTypes.func.isRequired,
backgroundColor: PropT... |
app/js/components/ui/components/user/index.js | blockstack/blockstack-portal | import React from 'react'
import styled, { css } from 'styled-components'
import CameraIcon from 'mdi-react/CameraIcon'
const User = styled.div``
const Avatar = styled.div`
display: flex;
align-items: center;
justify-content: center;
border-radius: 100%;
text-transform: uppercase;
text-shadow: 1px 1px 1px... |
node_modules/material-ui/svg-icons/action/perm-phone-msg.js | rekyyang/ArtificalLiverCloud | 'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _react = require('react');
var _react2 = _interopRequireDefault(_react);
var _pure = require('recompose/pure');
var _pure2 = _interopRequireDefault(_pure);
var _SvgIcon = require('../../SvgIcon');
var _SvgIcon2 = _interopRequireDe... |
src/svg-icons/action/class.js | xmityaz/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ActionClass = (props) => (
<SvgIcon {...props}>
<path d="M18 2H6c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM6 4h5v8l-2.5-1.5L6 12V4z"/>
</SvgIcon>
);
ActionClass = pure(ActionClass);... |
client/src/components/Input/index.js | free-soul/bookshelf | import React, { PureComponent } from 'react';
import PropTypes from 'prop-types';
const { oneOfType, bool, string, number, func } = PropTypes;
export default class Input extends PureComponent {
static propTypes = {
value: oneOfType([string, number]),
onChange: func,
onFocus: func,
onBlur: func,
... |
lib/components/CompileBtn/index.js | gmtcreators/atom-solidity | 'use babel'
// Copyright 2018 Etheratom Authors
// This file is part of Etheratom.
// Etheratom is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any la... |
ajax/libs/muicss/0.4.5/react/mui-react.js | brix/cdnjs | (function (global) {
var babelHelpers = global.babelHelpers = {};
babelHelpers.typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) {
return typeof obj;
} : function (obj) {
return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeo... |
node_modules/react-icons/fa/plug.js | bairrada97/festival |
import React from 'react'
import Icon from 'react-icon-base'
const FaPlug = props => (
<Icon viewBox="0 0 40 40" {...props}>
<g><path d="m39.2 10.1q0.8 0.8 0.8 2t-0.8 2.1l-9 8.9 3.4 3.3-3.6 3.6q-3.6 3.6-8.7 4.2t-9.2-2.3l-8.1 8.1h-4v-4l8.1-8.1q-2.8-4.1-2.3-9.2t4.2-8.7l3.6-3.6 3.3 3.4 8.9-9q0.9-0.8 2.1-0.8t... |
react/features/filmstrip/components/web/BaseIndicator.js | KalinduDN/kalindudn.github.io | import React, { Component } from 'react';
import UIUtil from '../../../../../modules/UI/util/UIUtil';
/**
* React {@code Component} for showing an icon with a tooltip.
*
* @extends Component
*/
class BaseIndicator extends Component {
static defaultProps = {
className: '',
iconClassName: '',
... |
docs/src/PropTable.js | blue68/react-bootstrap | import merge from 'lodash-compat/object/merge';
import React from 'react';
import Glyphicon from '../../src/Glyphicon';
import Label from '../../src/Label';
import Table from '../../src/Table';
let cleanDocletValue = str => str.trim().replace(/^\{/, '').replace(/\}$/, '');
let capitalize = str => str[0].toUpperCase()... |
examples/huge-apps/routes/Grades/components/Grades.js | tylermcginnis/react-router | import React from 'react'
class Grades extends React.Component {
render() {
return (
<div>
<h2>Grades</h2>
</div>
)
}
}
module.exports = Grades
|
actor-apps/app-web/src/app/components/DialogSection.react.js | bensonX/actor-platform | import _ from 'lodash';
import React from 'react';
import { PeerTypes } from 'constants/ActorAppConstants';
import MessagesSection from 'components/dialog/MessagesSection.react';
import TypingSection from 'components/dialog/TypingSection.react';
import ComposeSection from 'components/dialog/ComposeSection.react';
im... |
ajax/libs/reactive-coffee/0.0.2/reactive-coffee.min.js | xeodou/cdnjs | !function(){var a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L={}.hasOwnProperty,M=function(a,b){function c(){this.constructor=a}for(var d in b)L.call(b,d)&&(a[d]=b[d]);return c.prototype=b.prototype,a.prototype=new c,a.__super__=b.prototype,a},N=[].slice,O=[].indexOf||function(a){for(var b... |
src/index.js | Tylerdurden07/WeatherReactRedux | import React from 'react';
import ReactDOM from 'react-dom';
import { Provider } from 'react-redux';
import { createStore, applyMiddleware } from 'redux';
import ReduxPromise from 'redux-promise';
import App from './components/app';
import reducers from './reducers';
const createStoreWithMiddleware = applyMiddleware(... |
profiles/panopoly/libraries/backbone/backbone.js | uloom/openmasjid | // Backbone.js 1.0.0
// (c) 2010-2013 Jeremy Ashkenas, DocumentCloud Inc.
// Backbone may be freely distributed under the MIT license.
// For all details and documentation:
// http://backbonejs.org
(function(){
// Initial Setup
// -------------
// Save a reference to the global object (`wi... |
src/components/app/RawModal.js | metasfresh/metasfresh-webui-frontend | import counterpart from 'counterpart';
import PropTypes from 'prop-types';
import React, { Component } from 'react';
import { connect } from 'react-redux';
import classnames from 'classnames';
import { PATCH_RESET } from '../../constants/ActionTypes';
import { closeListIncludedView } from '../../actions/ListActions';
... |
resources/assets/components/SignupGallery.js | DoSomething/rogue | import React from 'react';
import gql from 'graphql-tag';
import { get, map } from 'lodash';
import { useQuery } from '@apollo/react-hooks';
import Empty from './Empty';
import Shell from './utilities/Shell';
import SignupCard, { SignupCardFragment } from './SignupCard';
import { updateQuery } from '../helpers';
cons... |
packages/material-ui-icons/src/FitnessCenterSharp.js | allanalexandre/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><path d="M20.57 14.86L22 13.43 20.57 12 17 15.57 8.43 7 12 3.43 10.57 2 9.14 3.43 7.71 2 5.57 4.14 4.14 2.71 2.71 4.14l1.43 1.43L2 7.71l1.43 1.43L2 10.57... |
webapp/components/widgets/GridWidget.js | marinvvasilev/homeinfotainment | /* eslint-disable import/default */
import React from 'react';
import { render } from 'react-dom';
export default class GridWidget extends React.Component {
constructor(props) {
super(props);
}
componentWillMount() {
this.state = {
items: this.props.items || []
};
... |
src/svg-icons/communication/stay-primary-portrait.js | xmityaz/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let CommunicationStayPrimaryPortrait = (props) => (
<SvgIcon {...props}>
<path d="M17 1.01L7 1c-1.1 0-1.99.9-1.99 2v18c0 1.1.89 2 1.99 2h10c1.1 0 2-.9 2-2V3c0-1.1-.9-1.99-2-1.99zM17 19H7V5h10v14z"/>
</SvgIcon>
);... |
node_modules/react-bootstrap/es/Pagination.js | vietvd88/developer-crawler | import _objectWithoutProperties from 'babel-runtime/helpers/objectWithoutProperties';
import _extends from 'babel-runtime/helpers/extends';
import _classCallCheck from 'babel-runtime/helpers/classCallCheck';
import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn';
import _inherits from ... |
components/Figure/Figure.js | NGMarmaduke/bloom | import PropTypes from 'prop-types';
import React from 'react';
import cx from 'classnames';
import css from './Figure.css';
const Figure = (props) => {
const {
className,
caption,
children,
...rest,
} = props;
const classes = cx(css.root, className);
const captionClasses = cx(css.caption);
... |
ajax/libs/forerunnerdb/1.3.535/fdb-all.min.js | ahocevar/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... |
examples/react-hello/test/fixtures/find-by-class.js | chrisbuttery/tdd-es6-react | import R from 'react/addons';
const TestUtils = R.addons.TestUtils;
const findByClass = (dom, selector) => {
const subject = selector.slice(1);
return TestUtils.findRenderedDOMComponentWithClass(dom, subject);
};
export default findByClass;
|
demo/public/component/EvTree.js | ev-ui/ev-ui | import React from 'react'
import {render} from 'react-dom'
import {Icon} from 'antd'
import styled from 'styled-components'
const Tree=styled.div`
user-select:none;
font-size:17px;
padding-left:10px;
ul{
list-style:inherit;
margin-left:20px;
}
li{
list-style:none;
... |
src/svg-icons/image/monochrome-photos.js | owencm/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ImageMonochromePhotos = (props) => (
<SvgIcon {...props}>
<path d="M20 5h-3.2L15 3H9L7.2 5H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 14h-8v-1c-2.8 0-5-2.2-5-5s2.2-5 5-5V7h8v12zm-3... |
src/components/Registration.js | apasashkov/treasy-client | import React, { Component } from 'react';
import Modal from './Modal';
import SignUpForm from './SignUpForm';
class Registration extends Component {
render() {
return (
<Modal id="RegistrationForm--Modal">
<h2> Sign Up! </h2>
<SignUpForm />
</Modal>
... |
src/UI/WaveShapeButtons.js | alex-wilmer/synth-starter | import React from 'react'
import { connect } from 'react-redux'
import { Row, Column } from './Flex'
let containerStyle = {
height: `80px`,
border: `2px solid #f4679f`,
borderRadius: `7px`,
transform: `scale(0.8)`,
}
let WaveShapeButtons = props => {
return (
<Column style={containerStyle}>
<Row>
... |
src/components/AlarmEntry.js | iovar/sleep_cycle_alarm | import _ from 'lodash';
import React, { Component } from 'react';
import {
Switch,
View,
LayoutAnimation,
TouchableWithoutFeedback,
Image
} from 'react-native';
import { connect } from 'react-redux';
import { toggleAlarm, toggleSelection, editAlarm } from '../actions';
import { enabledColor, disabledColor } f... |
ajax/libs/clappr/0.0.40/clappr.js | sufuf3/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]... |
frontend/app/js/login.js | carpeliam/pingpongreg | import React from 'react';
import { connect } from 'react-redux';
import { reduxForm } from 'redux-form';
import { loginUser } from './actions';
export function Login(props) {
const { fields: { name }, handleSubmit, pristine } = props;
return (
<div className="login-bg">
<form className="login" onSubmit=... |
features/apimgt/org.wso2.carbon.apimgt.store.feature/src/main/resources/store/source/src/app/components/Applications/Create/ApplicationCreate.js | dewmini/carbon-apimgt | /*
* Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/li... |
ajax/libs/jssip/0.6.9/jssip.js | raszi/cdnjs | /*
* JsSIP.js 0.6.9
* the Javascript SIP library
* Copyright 2012-2015 José Luis Millán <jmillan@aliax.net> (https://github.com/jmillan)
* Homepage: http://jssip.net
* License MIT
*/
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.... |
tests/Rules-isAlphanumeric-spec.js | track0x1/formsy-react | import React from 'react';
import TestUtils from 'react-dom/test-utils';
import Formsy from './..';
import { InputFactory } from './utils/TestInput';
const TestInput = InputFactory({
render() {
return <input value={this.props.getValue()} readOnly/>;
}
});
class TestForm extends React.Component {
render() {... |
app/screens/articles/articles1.js | andry-baka/dapur-ngebul-app | import React from 'react';
import {
FlatList,
Image,
View,
TouchableOpacity
} from 'react-native';
import {
RkText,
RkCard, RkStyleSheet
} from 'react-native-ui-kitten';
import {SocialBar} from '../../components';
import {data} from '../../data';
let moment = require('moment');
export class Articles1 exten... |
ajax/libs/vue-material/1.0.0-beta-8/components/MdCard/index.js | jonobr1/cdnjs | !(function(e,t){var n,r;if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("vue"));else if("function"==typeof define&&define.amd)define(["vue"],t);else{n=t("object"==typeof exports?require("vue"):e.Vue);for(r in n)("object"==typeof exports?exports:e)[r]=n[r]}})("undefined"!=typeof self?self:t... |
docs/client/components/pages/Counter/CustomCounterEditor/index.js | dagopert/draft-js-plugins | import React, { Component } from 'react';
import Editor, { createEditorStateWithText } from 'draft-js-plugins-editor';
import createCounterPlugin from 'draft-js-counter-plugin';
import editorStyles from './editorStyles.css';
import counterStyles from './counterStyles.css';
const theme = {
counter: counterStyles.coun... |
AirFront/client/order.js | sunshinezxf/Airburg | import React from 'react';
import {
NavBar,
Icon,
Button,
Carousel,
Flex,
List,
WhiteSpace,
Card,
Stepper,
Tabs,
WingBlank,
TextareaItem,
Checkbox
} from 'antd-mobile';
import LazyLoad from 'react-lazyload';
import {goods} from './goods'
const Item = List.Item;
cons... |
files/core-js/0.8.4/library.js | siscia/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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.