target
stringlengths
5
300
feat_repo_name
stringlengths
6
76
text
stringlengths
26
1.05M
examples/sub-components-lazy/.rescriptsrc.js
tannerlinsley/react-table
const path = require('path') const resolveFrom = require('resolve-from') const fixLinkedDependencies = config => { config.resolve = { ...config.resolve, alias: { ...config.resolve.alias, react$: resolveFrom(path.resolve('node_modules'), 'react'), 'react-dom$': resolveFrom(path.resolve('node...
ajax/libs/vkui/4.21.1/cssm/components/ModalRoot/withModalRootContext.js
cdnjs/cdnjs
import _extends from "@babel/runtime/helpers/extends"; import { createScopedElement } from "../../lib/jsxRuntime"; import * as React from 'react'; import ModalRootContext from "./ModalRootContext"; export function withModalRootContext(Component) { function WithModalRootContext(props) { var _React$useContext = Rea...
static/src/app.js
andribja/airhornbot
// @flow import React from 'react'; import ReactDOM from 'react-dom'; import Layout from './components/Layout'; import './images/favicon.png'; import './images/og-facebook.png'; import './images/og-twitter.png'; ReactDOM.render( <Layout />, document.getElementById('app') );
ui/js/pages/form/FormChoices.js
ericsoderberg/pbc-web
import React from 'react'; import PropTypes from 'prop-types'; import FormField from '../../components/FormField'; import FormOptionLabel from './FormOptionLabel'; const FormChoices = (props) => { const { error, field, formTemplateField, onChange } = props; const optionIds = field.optionIds || []; const initial...
packages/javascript/reactjs/react-getstart/react-contact-manager/src/pages/contact-list-page.js
sharkspeed/dororis
// src/pages/contact-list-page.js import React, { Component } from 'react' import { connect } from 'react-redux' import ContactList from '../components/contact-list' import { fetchContacts, deleteContact } from '../actions/contact-actions' class ContactListPage extends Component { componentDidMount() { ...
ajax/libs/rxjs/2.3.16/rx.js
luigimannoni/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/components/header.js
ric9176/hoc
import React, { Component } from 'react'; import { Link } from 'react-router'; import { connect } from 'react-redux'; import * as actions from '../actions'; class Header extends Component { authButton() { if (this.props.authenticated) { return <button onClick={() => this.props.authenticate(false)}>Sign Out...
ajax/libs/styled-components/4.1.2/styled-components.cjs.min.js
extend1994/cdnjs
"use strict";function _interopDefault(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(exports,"__esModule",{value:!0});var Stylis=_interopDefault(require("stylis/stylis.min")),_insertRulePlugin=_interopDefault(require("stylis-rule-sheet")),React=require("react"),React__default=_interopD...
src/icons/IosUndo.js
fbfeix/react-icons
import React from 'react'; import IconBase from './../components/IconBase/IconBase'; export default class IosUndo extends React.Component { render() { if(this.props.bare) { return <g> <g> <path d="M447.9,368.2c0-16.8,3.6-83.1-48.7-135.7c-35.2-35.4-80.3-53.4-143.3-56.2V96L64,224l192,128v-79.8 c40,1.1,62.4,9.1,8...
components/drawer/Drawer.js
jasonleibowitz/react-toolbox
import React from 'react'; import PropTypes from 'prop-types'; import { themr } from 'react-css-themr'; import classnames from 'classnames'; import { DRAWER } from '../identifiers.js'; import ActivableRenderer from '../hoc/ActivableRenderer.js'; import InjectOverlay from '../overlay/Overlay.js'; const factory = (Overl...
Demo_1/app/libs/jquery.stellar/libs/jquery/jquery-1.4.3.js
nucknine/portfolio
/*! * jQuery JavaScript Library v1.4.3 * 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. ...
src/main/resources/static/bower_components/jqwidgets/demos/react/app/datetimeinput/defaultfunctionality/app.js
dhawal9035/WebPLP
import React from 'react'; import ReactDOM from 'react-dom'; import JqxDateTimeInput from '../../../jqwidgets-react/react_jqxdatetimeinput.js'; class App extends React.Component { render () { return ( <div id='content'> <label>Date Input</label> <JqxDateTimeInput width={300} heig...
src/components/Link/Link.js
utage2002/mm
/** * 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-...
packages/cf-component-dropdown/example/basic/component.js
mdno/mdno.github.io
import React from 'react'; import { Dropdown, DropdownLink, DropdownSeparator } from 'cf-component-dropdown'; import { Button, ButtonGroup } from 'cf-component-button'; class DropdownComponent extends React.Component { constructor(props) { super(props); this.state = { dropdown1Open: false, ...
js/components/layouts/console/GameConsole.js
Celsius273/Plague.io
import React from 'react' import GameStore from '../../../stores/MapStore' var GameConsole = React.createClass({ propTypes: { GameStore: React.PropTypes.object.isRequired }, render() { return ( <div className='game-console'> </div> ) } }) export defau...
src/dots.js
BenjaminNeilDavis/react-slick
'use strict'; import React from 'react'; import classnames from 'classnames'; var getDotCount = function (spec) { var dots; dots = Math.ceil(spec.slideCount / spec.slidesToScroll); return dots; }; export var Dots = React.createClass({ clickHandler: function (options, e) { // In Autoplay the focus stays...
packages/material-ui-icons/src/MenuOutlined.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="M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z" /></React.Fragment> , 'MenuOutlined');
src/index.js
cdanhowell/electron-starter-kit
import 'babel-polyfill' import React from 'react' import { render as renderReact } from 'react-dom' import debounce from 'debounce' import configureStore from './store/configureStore' const state = JSON.parse(window.localStorage.getItem('state')) const store = configureStore(state || {}) let App = require('./componen...
ThinkPHP/Extend/Tool/thinkeditor/ThinkEditor.js
zning1994/newscentersystem
(function ($) { var ie = $.browser.msie, iOS = /iphone|ipad|ipod/i.test(navigator.userAgent); $.TE = { version:'1.0', // 版本号 debug: 1, //调试开关 timeOut: 3000, //加载单个文件超时时间,单位为毫秒。 defaults: { //默认参数controls,noRigths,plugins,定义加载插件 controls: "source,|...
src/components/Form/Input.js
chjourdain/react-redux-ref
/** * Created by chjourdain on 08/07/16. */ import React from 'react' const errormsg = { require: "Ce champ est obligatoire" }; class Input extends React.Component { constructor(props) { super(props); this.getValue = this.getValue.bind(this); this.getChecked = this.getChecked.bind(t...
ajax/libs/clappr/0.0.23/clappr.js
neveldo/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]...
website/src/components/readnext.js
spacy-io/spaCy
import React from 'react' import PropTypes from 'prop-types' import Icon from './icon' import Link from './link' import { Label } from './typography' import classes from '../styles/readnext.module.sass' export default function ReadNext({ title, to }) { return ( <div className={classes.root}> ...
src/components/contacts.js
Chetson/webpack-react
import React from 'react'; export default class Contacts extends React.Component { render() { return ( <div> <h1>Contacts page</h1> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis n...
src/components/Account/Preferences/Wizard/Footer/index.js
ndlib/usurper
import React from 'react' import PropTypes from 'prop-types' import InlineLoading from 'components/Messages/InlineLoading' const Footer = (props) => ( <div className='modal-footer'> <div className='wizard-step-count-bottom'>{props.step + 1}/{props.stepCount}</div> {props.step > 0 && ( <button classNam...
ajax/libs/yui/3.8.0/simpleyui/simpleyui-debug.js
svvitale/cdnjs
/** The YUI module contains the components required for building the YUI seed file. This includes the script loading mechanism, a simple queue, and the core utilities for the library. @module yui @main yui @submodule yui-base **/ if (typeof YUI != 'undefined') { YUI._YUI = YUI; } /** The YUI global namespace obj...
ajax/libs/6to5/2.4.10/browser.js
Ryuno-Ki/cdnjs
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)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.to5=e()}}(function(){var define,module,exports;return...
ajax/libs/clappr/0.0.4/clappr.js
paleozogt/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]...
src/controls/BlockType/Component/index.js
jpuri/react-draft-wysiwyg
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; import Option from '../../../components/Option'; import { Dropdown, DropdownOption } from '../../../components/Dropdown'; import './styles.css'; class LayoutComponent extends Component { static propTyp...
actor-apps/app-web/src/app/components/sidebar/RecentSectionItem.react.js
JeeLiu/actor-platform
import React from 'react'; import classNames from 'classnames'; import DialogActionCreators from 'actions/DialogActionCreators'; import DialogStore from 'stores/DialogStore'; import AvatarItem from 'components/common/AvatarItem.react'; class RecentSectionItem extends React.Component { static propTypes = { di...
app/javascript/mastodon/components/short_number.js
lindwurm/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import { toShortNumber, pluralReady, DECIMAL_UNITS } from '../utils/numbers'; import { FormattedMessage, FormattedNumber } from 'react-intl'; // @ts-check /** * @callback ShortNumberRenderer * @param {JSX.Element} displayNumber Number to display * @para...
src/app.js
Poplava/warships
import React from 'react'; import App from './components/App'; React.render( <div>Foo<App /></div>, document.getElementById('react-root') );
packages/material-ui-icons/src/DoDisturbOnTwoTone.js
callemall/material-ui
import * as React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M12 4c-4.41 0-8 3.59-8 8s3.59 8 8 8 8-3.59 8-8-3.59-8-8-8zm5 9H7v-2h10v2z" opacity=".3" /><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-...
test/test_helper.js
tomdzi5/redux4
import _$ from 'jquery'; import React from 'react'; import ReactDOM from 'react-dom'; import TestUtils from 'react-addons-test-utils'; import jsdom from 'jsdom'; import chai, { expect } from 'chai'; import chaiJquery from 'chai-jquery'; import { Provider } from 'react-redux'; import { createStore } from 'redux'; import...
src/components/navigator/Navigator.js
yuri/notality
import React from 'react'; const Navigator = ({ children }) => { return ( <div className="flex flex-stretch flex-center p1 bg-white black border-bottom fixed top-0 left-0 right-0 z3" styles={ styles.base }> { children } </div> ); }; const styles = { base: { height: '10rem', }, };...
src/server.js
sslash/bookr
import Express from 'express'; import React from 'react'; import ReactDOM from 'react-dom/server'; import config from './config'; import favicon from 'serve-favicon'; import compression from 'compression'; import httpProxy from 'http-proxy'; import path from 'path'; import createStore from './redux/create'; import ApiC...
src/components/TextBox/TextBox.js
cheshire137/cheevo-plotter
/** * 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, { Component, PropTypes } from 'react'; impor...
src/components/ResultsHeader.js
henrikra/reactive-movies
import React, { Component } from 'react'; export default class ResultsHeader extends Component { render() { var resultsHeader; if (this.props.error) { resultsHeader = <h2>No results for: "{this.props.query}" :(</h2>; } else { resultsHeader = <h2>Results for: "{this.props.query}"</h2>; } return ( <d...
src/main/webapp/WEB-INF/pages/ueditor/third-party/highcharts/highcharts.src.js
xjyaikj/OnlinePreparation
// ==ClosureCompiler== // @compilation_level SIMPLE_OPTIMIZATIONS /** * @license Highcharts JS v3.0.6 (2013-10-04) * * (c) 2009-2013 Torstein Hønsi * * License: www.highcharts.com/license */ // JSLint options: /*global Highcharts, document, window, navigator, setInterval, clearInterval, clearTimeout, setTimeout...
ajax/libs/forerunnerdb/1.4.19/fdb-all.min.js
hare1039/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...
src/components/wallet/Address.js
whphhg/vcash-ui
import React from 'react' import { translate } from 'react-i18next' import { inject, observer } from 'mobx-react' /** Component */ import AddressOutputList from '../lists/AddressOutputList.js' @translate(['common']) @inject('wallet') @observer class Address extends React.Component { constructor(props) { super(p...
ajax/libs/yui/3.4.0pr3/yui/yui-debug.js
jessepollak/cdnjs
/** * The YUI module contains the components required for building the YUI seed * file. This includes the script loading mechanism, a simple queue, and * the core utilities for the library. * @module yui * @submodule yui-base */ if (typeof YUI != 'undefined') { YUI._YUI = YUI; } /** * The YUI global names...
renderer/splash/src/index.js
reactide/reactide
// import React from 'react'; // import ReactDOM from 'react-dom'; // import './index.css'; // import App from './App'; // import * as serviceWorker from './serviceWorker'; // ReactDOM.render(<App />, document.getElementById('root')); // // If you want your app to work offline and load faster, you can change // // un...
app/components/NumberPicker/NumberPicker.js
k19862217/LogicGame
import React, { Component } from 'react'; import { StyleSheet, View, Picker, Animated, Dimensions, TouchableHighlight, TouchableOpacity, Text } from 'react-native'; var deviceWidth = Dimensions.get('window').width; var deviceHeight = Dimensions.get('window').height; export default clas...
apps/customer/assets/static/js/pages/AuthCallbackPage/index.js
tsurupin/job_search
import React from 'react'; function AuthCallbackPage() { return <div />; } export default AuthCallbackPage;
ajax/libs/react-native-web/0.14.6/cjs/exports/Modal/ModalPortal.js
cdnjs/cdnjs
"use strict"; exports.__esModule = true; exports.default = void 0; var _react = require("react"); var _ExecutionEnvironment = require("fbjs/lib/ExecutionEnvironment"); var _reactDom = _interopRequireDefault(require("react-dom")); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default...
src/components/common/UploadButton.js
bshevchenko/ChronoMint
import React from 'react' import ReactDOM from 'react-dom' import RaisedButton from 'material-ui/RaisedButton' import _ from 'underscore' const propTypes = { accept: React.PropTypes.string, label: React.PropTypes.any, multi: React.PropTypes.bool, onUpload: React.PropTypes.func.isRequired, passBase64: React.P...
src/components/gmaps.js
MicheleBertoli/react-gmaps
import React from 'react'; import ReactDOM from 'react-dom'; import createReactClass from 'create-react-class'; import objectAssign from 'object-assign'; import MapEvents from '../events/map'; import Listener from '../mixins/listener'; import GoogleMaps from '../utils/google-maps'; import compareProps from '../utils/co...
ajax/libs/mediaelement/2.15.0/jquery.js
callumacrae/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/components/github/Repo.js
MMMalik/react-show-app
import React, { Component } from 'react'; import PropTypes from 'prop-types'; export default class Repo extends Component { static propTypes = { repo: PropTypes.object } static defaultProps = { repo: {} } render() { const { repo } = this.props; return ( ...
ajax/libs/babel-core/4.6.6/browser.js
hasantayyar/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.babel=f()}})(f...
ajax/libs/react-table/2.0.0/react-table.js
jdh8/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.reactTable = f...
stories/admin/scoreControlStory.js
nvbf/pepper
import React from 'react'; import { storiesOf } from '@storybook/react'; import { host } from 'storybook-host'; import { action } from '@storybook/addon-actions'; import ScoreControl from '../../components/admin/scorecontrol/ScoreControl'; import { ManUnited, Bayern } from '../../mocks/teams'; const sets = [ { h...
Android/dokit/src/main/assets/h5help/dokit.js
didi/DoraemonKit
(function(){"use strict";function makeMap(e,t){const o=Object.create(null),n=e.split(",");for(let e=0;e<n.length;e++)o[n[e]]=!0;return t?e=>!!o[e.toLowerCase()]:e=>!!o[e]}const specialBooleanAttrs="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",isSpecialBooleanAttr=makeMap(specialBooleanAt...
server/sonar-web/src/main/js/apps/projects/components/ProjectsListFooter.js
lbndev/sonarqube
/* * SonarQube * Copyright (C) 2009-2017 SonarSource SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 3 of the License, o...
node_modules/react-icons/md/blur-linear.js
bengimbel/Solstice-React-Contacts-Project
import React from 'react' import Icon from 'react-icon-base' const MdBlurLinear = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m21.6 28.4c-0.9 0-1.6-0.8-1.6-1.8s0.7-1.6 1.6-1.6 1.8 0.7 1.8 1.6-0.8 1.8-1.8 1.8z m0-6.8c-0.9 0-1.6-0.7-1.6-1.6s0.7-1.6 1.6-1.6 1.8 0.7 1.8 1.6-0.8 1.6-1.8 1.6z m...
ajax/libs/babel-core/5.6.11/browser-polyfill.js
menuka94/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...
src/containers/Root.js
HackDFW/hackdfw-game-frontend
import React from 'react'; import {Provider} from 'react-redux'; import routes from '../routes'; import {ReduxRouter} from 'redux-router'; export default class Root extends React.Component { static propTypes = { store: React.PropTypes.object.isRequired }; render () { return ( ...
ajax/libs/zxcvbn/1.0/zxcvbn.js
chriszarate/cdnjs
(function(){var w,p,q,x,J,K,L,M,N,O,P,Q,y,s,z,R,S,T,U,V,W;P=function(b){var a,d;d=[];for(a in b)d.push(a);return 0===d.length};y=function(b,a){return b.push.apply(b,a)};V=function(b,a){var d,c,e,f,g;f=b.split("");g=[];c=0;for(e=f.length;c<e;c++)d=f[c],g.push(a[d]||d);return g.join("")};R=function(b){var a,d,c,e;d=[];c=...
client/views/admin/settings/inputs/PasswordSettingInput.stories.js
VoiSmart/Rocket.Chat
import { Field } from '@rocket.chat/fuselage'; import { action } from '@storybook/addon-actions'; import React from 'react'; import PasswordSettingInput from './PasswordSettingInput'; export default { title: 'admin/settings/inputs/PasswordSettingInput', component: PasswordSettingInput, decorators: [(storyFn) => <F...
src/packages/@ncigdc/components/GDCApps/GDCAppsRow.js
NCI-GDC/portal-ui
// @flow import React from 'react'; import styled from '@ncigdc/theme/styled'; import AppLink from '@ncigdc/components/GDCApps/AppLink'; import dataPortalImg from '@ncigdc/theme/images/GDC-App-data-portal-blue.svg'; import publicationsImg from '@ncigdc/theme/images/GDC-App-publications.svg'; import websiteImg from '@n...
src/containers/ProfileViewPage.js
mak4alex/unicorn-shop
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; class ProfileViewPage extends Component { render() { const user = this.props.auth.getIn(['user', 'attributes']); return ( <div className="lead"> <h2>Customer info:</h...
src/app.js
mvtnghia/web-boilerplate
import Routers from '@/app/routers'; import React, { Component } from 'react'; import { connect } from 'react-redux'; import './styles/index.scss'; export class app extends Component { render() { return ( <div className="App"> <Routers /> </div> ); } } export default connect()(app);
src/common/components/Match.js
sikhote/davidsinclair
// @flow import type { State } from '../../common/types'; import React from 'react'; import { Match as ReactRouterMatch, Redirect } from 'react-router'; import { connect } from 'react-redux'; const haveAccess = (viewer, authorized) => authorized ? viewer : true; const Match = ({ authorized, component: Component, ...
src/tests/Subtitle.spec.js
openproblems/landingpage
import React from 'react'; import { expect } from 'chai'; import { render } from 'enzyme'; import Subtitle from '../components/sections/parts/Subtitle'; describe('<Subtitle />', () => { it('renders the subtitle', () => { const wrapper = render(<Subtitle />); expect(wrapper.text()).to.contain('A simple, powe...
pnpm-offline/.pnpm-store-offline/1/registry.npmjs.org/react-bootstrap/0.31.0/es/MediaListItem.js
Akkuma/npm-cache-benchmark
import _extends from 'babel-runtime/helpers/extends'; import _objectWithoutProperties from 'babel-runtime/helpers/objectWithoutProperties'; import _classCallCheck from 'babel-runtime/helpers/classCallCheck'; import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn'; import _inherits from ...
dev/test-studio/parts/tools/css-variables/tool.js
sanity-io/sanity
import React from 'react' import cssCustomProperties from 'sanity:css-custom-properties' import {ThemePropertyGroup} from './propertyGroup' import metadata from './metadata' import {getData} from './helpers' import styles from './tool.css' function CSSVariablesTool() { const data = React.useMemo(() => getData(metad...
tests/node/components/list.spec.js
NiGhTTraX/react-test-buffet
import React from 'react'; import { spy } from 'sinon'; import List from '../../../src/components/list.jsx'; import { createReactStub } from '../helpers/chai-react'; import { describe, it, beforeEach, expect, $render } from '../suite'; describe('List', function() { let $component, Item, onSelectSpy; beforeEach(f...
index.android.js
chentsulin/react-native-counter-ios-android
/** * Sample React Native App * https://github.com/facebook/react-native * @flow */ import React, { Component } from 'react'; import { AppRegistry, } from 'react-native'; import { Provider } from 'react-redux'; import App from './src/containers/App'; import configureStore from './src/store/configureStore'; cons...
packages/material-ui-icons/src/NewReleasesOutlined.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><path d="M23 12l-2.44-2.78.34-3.68-3.61-.82-1.89-3.18L12 3 8.6 1.54 6.71 4.72l-3.61.81.34 3.68L1 12l2.44 2.78-.34 3.69 3.61.82 1.89 3.18L12 21l3.4 1.46 1...
packages/mineral-ui-icons/src/IconCropOriginal.js
mineral-ui/mineral-ui
/* @flow */ import React from 'react'; import Icon from 'mineral-ui/Icon'; import type { IconProps } from 'mineral-ui/Icon/types'; /* eslint-disable prettier/prettier */ export default function IconCropOriginal(props: IconProps) { const iconProps = { rtl: false, ...props }; return ( <Icon {...iconP...
ajax/libs/yui/3.1.1/loader/loader-debug.js
gauravarora/cdnjs
YUI.add('loader-base', function(Y) { /** * The YUI loader core * @module loader * @submodule loader-base */ (function() { var VERSION = Y.version, CONFIG = Y.config, BUILD = '/build/', ROOT = VERSION + BUILD, CDN_BASE = Y.Env.base, GALLERY_VERSION = ...
src/widgets/Loading.js
Ricky-Nz/knocknock-web
import React from 'react'; import CircularProgress from 'material-ui/CircularProgress'; const Loading = (props) => ( <div className='flex flex-fill flex-center flex-align-center'> <CircularProgress size={0.5}/> </div> ); export default Loading;
ajax/libs/react-dom/18.0.0-alpha-3ee7a004e-20210920/umd/react-dom-server.browser.development.js
cdnjs/cdnjs
/** @license React vundefined * react-dom-server.browser.development.js * * 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. */ (function (global, factory) { typeof exports === 'object'...
packages/material-ui-icons/src/Camera.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="M9.4 10.5l4.77-8.26C13.47 2.09 12.75 2 12 2c-2.4 0-4.6.85-6.32 2.25l3.66 6.35.06-.1zM21.54 9c-.92-2.92-3.15-5.26-6-6.34L11.88 9h9.66zm.26 1h-7.49l...
src/Covid.js
haroldhues/kkblueberries
import React from 'react' export default () => ( <div id="covid"> <hr /> <p> <strong> {'K & K Blueberries'} will be following the Guidance for U-Pick put forth by the Oregon Department of Agriculture </strong> </p> <h1>Customers</h1> <ul> <li> Do not come...
packages/material-ui-icons/src/AddCircleTwoTone.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><path d="M12 4c-4.41 0-8 3.59-8 8s3.59 8 8 8 8-3.59 8-8-3.59-8-8-8zm5 9h-4v4h-2v-4H7v-2h4V7h2v4h4v2z" opacity=".3" /><path d="M13 7h-2v4H7v2h4v4h2v-4h4v-...
app/components/PreSplash/PreSplash.js
heptaman/Voluncheering
import React, { Component } from 'react'; import PropTypes from 'prop-types' import { View, Text, StyleSheet, TouchableOpacity, Animated } from 'react-native' import { connect } from 'react-redux' import { colors, fontSizes } from '~/styles' import { logout } from '~/actions/auth' class PreSplash extends Component {...
index.js
AdamTyler/react-dice-complete
import TestApp from './src/TestApp' import React from 'react' import ReactDOM from 'react-dom' ReactDOM.render(<TestApp />, document.getElementById('app'))
client/extensions/woocommerce/woocommerce-services/views/shipping-label/label-purchase-modal/packages-step/package-select.js
Automattic/woocommerce-services
/** @format */ /** * External dependencies */ import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import { localize } from 'i18n-calypso'; import classNames from 'classnames'; import { isEmpty, map, reduce } from 'lodash'; ...
src/js/components/icons/base/Clipboard.js
kylebyerly-hp/grommet
// (C) Copyright 2014-2015 Hewlett Packard Enterprise Development LP import React, { Component } from 'react'; import PropTypes from 'prop-types'; import classnames from 'classnames'; import CSSClassnames from '../../../utils/CSSClassnames'; import Intl from '../../../utils/Intl'; import Props from '../../../utils/Pro...
ajax/libs/jquery-confirm/1.5.1/jquery-confirm.min.js
viskin/cdnjs
"use strict"; /*! * jquery-confirm v1.5.1 (http://craftpip.github.io/jquery-confirm/) * Author: Boniface Pereira * Website: www.craftpip.com * Contact: hey@craftpip.com * * Copyright 2013-2015 jquery-confirm * Licensed under MIT (https://github.com/craftpip/jquery-confirm/blob/master/LICENSE) */ if(typeof jQuer...
node_modules/react-bootstrap/es/PaginationButton.js
rblin081/drafting-client
import _extends from 'babel-runtime/helpers/extends'; import _objectWithoutProperties from 'babel-runtime/helpers/objectWithoutProperties'; import _classCallCheck from 'babel-runtime/helpers/classCallCheck'; import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn'; import _inherits from ...
ajax/libs/angular.js/0.9.13/angular-scenario.min.js
kentcdodds/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. ...
frontend/main.js
alyzhao/my-blog
import React from 'react'; import ReactDOM from 'react-dom'; import 'babel-polyfill'; import { AppContainer } from 'react-hot-loader'; import 'font-awesome/css/font-awesome.css'; import 'normalize.css'; import App from './App'; // import './style.less'; const render = function(Component) { ReactDOM.render( ...
app/javascript/mastodon/features/favourited_statuses/index.js
honpya/taketodon
import React from 'react'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import { fetchFavouritedStatuses, expandFavouritedStatuses } from '../../actions/favourites'; import Column from '../ui/components/column'; import ColumnHeade...
src/components/page-header/page-header.js
ebabel-eu/amar2000-client
import React, { Component } from 'react'; import './page-header.scss'; export default class PageHeader extends Component { render() { return ( <div className="page-header"> <h1>{this.props.title} <span className="addition">{this.props.subtitle}</span></h1> </div> ); } } PageHeader.pro...
packages/material-ui-icons/src/ClassTwoTone.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><g><path d="M13 13l-3-2.25L7 13V4H6v16h12V4h-5z" opacity=".3" /><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-2zM9 4...
ajax/libs/react-native-web/0.15.7/exports/RefreshControl/index.js
cdnjs/cdnjs
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; } /** * Copy...
wp-content/themes/leandrikers/library/vendors/jquery/dist/jquery.js
plusplusminus/leandrikers
/*! * jQuery JavaScript Library v1.11.3 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2015-04-28T16:19Z */ (function( global, factory ) { if ...
1l_React_ET_Lynda/Ex_Files_React_EssT/Ch05/05_04/finish/src/index.js
yevheniyc/C
import React from 'react' import { render } from 'react-dom' import './stylesheets/ui.scss' import { App } from './components/App' import { Whoops404 } from './components/Whoops404' import { Router, Route, hashHistory } from 'react-router' window.React = React render( <Router history={hashHistory}> <Route path="/"...
src/svg-icons/action/accessible.js
tan-jerene/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionAccessible = (props) => ( <SvgIcon {...props}> <circle cx="12" cy="4" r="2"/><path d="M19 13v-2c-1.54.02-3.09-.75-4.07-1.83l-1.29-1.43c-.17-.19-.38-.34-.61-.45-.01 0-.01-.01-.02-.01H13c-.35-.2-.75-.3-1.19...
node_modules/react-bootstrap/es/Button.js
darklilium/Factigis_2
import _Object$values from 'babel-runtime/core-js/object/values'; 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-...
docs/src/app/components/pages/components/IconMenu/Page.js
hwo411/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 iconMenuReadmeText from './README'; import IconMenuExampleSimple from './...
src/app/components/Advisor.js
vivekhnz/today-in-destiny
import React from 'react'; import { browserHistory } from 'react-router'; import ElementQuery from 'react-element-query'; import { default as time } from '../../services/time'; var overlayColor = 'rgba(39, 58, 65, 0.75)'; var wideViewWidth = 422; class Advisor extends React.Component { constructor(props) { ...
docs/app/Examples/views/Feed/Content/DateSummary.js
jamiehill/stardust
import React from 'react' import { Feed } from 'stardust' const { Content, Date, Event, Label, Summary } = Feed const imageSrc = 'http://semantic-ui.com/images/avatar/small/jenny.jpg' const DateSummary = () => { return ( <Feed> <Event> <Label image={imageSrc} /> <Content> <Summar...
src/svg-icons/navigation/more-horiz.js
mit-cml/iot-website-source
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let NavigationMoreHoriz = (props) => ( <SvgIcon {...props}> <path d="M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-...
app/private/indexerApp/imports/ui/pages/Items.js
ericvrp/GameCollie
import React from 'react'; import { Link } from 'react-router'; import { Row, Col, Button } from 'react-bootstrap'; import ItemsList from '../components/ItemList'; const Items = () => ( <div className="Items"> <Row> <Col xs={ 12 }> <div className="page-header clearfix"> <h4 className="pul...
ajax/libs/yui/3.7.2/datatable-core/datatable-core.js
LeaYeh/cdnjs
YUI.add('datatable-core', function (Y, NAME) { /** The core implementation of the `DataTable` and `DataTable.Base` Widgets. @module datatable @submodule datatable-core @since 3.5.0 **/ var INVALID = Y.Attribute.INVALID_VALUE, Lang = Y.Lang, isFunction = Lang.isFunction, isObject = Lang.isO...
ajax/libs/rxjs/2.3.13/rx.js
BitsyCode/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...
packages/cockpit/ui/src/components/SignAndVerify.js
iurimatias/embark-framework
import PropTypes from 'prop-types'; import React from 'react'; import { Card, CardHeader, CardBody, Row, Col, FormGroup, Input, Label, Button, Alert } from 'reactstrap'; class SignAndVerify extends React.Component { constructor(props) { super(props); this.state = { selectedAccount: ...