path
stringlengths
5
300
repo_name
stringlengths
6
76
content
stringlengths
26
1.05M
packages/react-interactions/accessibility/src/FocusGroup.js
mjackson/react
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @flow */ import type {ReactScopeMethods} from 'shared/ReactTypes'; import type {KeyboardEvent} from 'react-interactions/events/...
src/components/Layout/Bread.js
steem/qwp-antd
import React from 'react' import PropTypes from 'prop-types' import { Breadcrumb, Icon } from 'antd' import { Link } from 'dva/router' import styles from './Bread.less' import { l } from 'utils/localization' const Bread = ({ menu }) => { let pathArray = [] const getPathArray = (path) => { let result = [] ...
src/components/City/City.js
maximgatilin/weathernow
import React, { Component } from 'react'; import { TweenLite, Elastic } from 'gsap'; import styles from './City.css'; class City extends Component { componentWillAppear() { const el = this.el; TweenLite.fromTo(el, 1.3, {y: 30, opacity: 0}, {y: 0, opacity: 1, ease: Elastic.easeOut.config(1.2, 0.75) }); } rende...
packages/material-ui-icons/src/SubjectRounded.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="M13 17H5c-.55 0-1 .45-1 1s.45 1 1 1h8c.55 0 1-.45 1-1s-.45-1-1-1zm6-8H5c-.55 0-1 .45-1 1s.45 1 1 1h14c.55 0 1-.45 1-1s-.45-1-1-1zM5 15h14c.55 0 ...
jssource/src_files/include/javascript/yui3/build/simpleyui/simpleyui.js
nicoavn/suitecrm-impl
/* Copyright (c) 2010, Yahoo! Inc. All rights reserved. Code licensed under the BSD License: http://developer.yahoo.com/yui/license.html version: 3.3.0 build: 3167 */ /** * The YUI module contains the components required for building the YUI seed * file. This includes the script loading mechanism, a simple queue, a...
src/components/Guild/components/Applications/views/ApplicationsView.js
chanpod/bosscollectionReact
/** * @flow */ import React from 'react' import { AppStyles, primaryColor, secondaryColor } from '../../../../../shared'; import { Button } from 'react-bootstrap'; const styles = { container: { margin: '0 auto', padding: '1rem', backgroundColor: primaryColor } }; export default class Applications ...
app/main.js
apache/couchdb-fauxton
// Licensed 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/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed un...
Samples/Provisioning.Cloud.Workflow/Provisioning.Cloud.WorkflowWeb/Scripts/jquery-1.9.1.min.js
Chowdarysandhya/PnPTest
/* NUGET: BEGIN LICENSE TEXT jQuery v1.9.1 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, subject to the website's terms of use; or (ii) using the files as included with a Microsoft product subject to that produc...
frontend/main.js
misterwilliam/gae-channels-sample
import React from 'react' import ReactDOM from 'react-dom' import { Provider } from 'react-redux' import Store from './store' import MainApp from './uiComponents/mainApp' ReactDOM.render( <Provider store={Store}> <MainApp /> </Provider>, document.getElementById('wrapper') );
src/svg-icons/communication/textsms.js
mtsandeep/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let CommunicationTextsms = (props) => ( <SvgIcon {...props}> <path d="M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM9 11H7V9h2v2zm4 0h-2V9h2v2zm4 0h-2V9h2v2z"/> </SvgIcon> ); Communica...
docs/src/app/components/pages/components/DatePicker/ExampleControlled.js
IsenrichO/mui-with-arrows
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)...
packages/material-ui-icons/src/CancelRounded.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" opacity=".87" /><path d="M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm4.3 14.3c-.39.39-1.02.39-1.41 0L12 13.41 9.11 16.3c-.39.39-1.02...
src/containers/RecipeList.js
DonHansDampf/whattoeat_website
import React from 'react' import { connect } from 'react-redux' // import { bindActionCreators } from 'redux' import { Block, Heading, Text } from 'rebass' import GetButton from './GetButton' import RandomRecipeButton from './RandomRecipeButton' type Props = { recipes: React.PropTypes.array.isRequired } expo...
src/containers/Home/BookingColumn.js
sslash/bookr
import React, { Component } from 'react'; const moment = require('moment'); import _range from 'lodash/utility/range'; export default class BookingColumn extends Component { constructor(props) { super(props); this.onBookClicked = this.onBookClicked.bind(this); } onBookClicked() ...
web/src/configuration/sources/imageSourceTypes.js
bolddp/pixerva
import React from 'react'; import FolderSource from './FolderSource'; export default [ { type: 'folder', newSourceText: 'Folder on image server', configHeaderText: 'Folder on image server', createNew: () => { return { type: 'folder', name: '', config: { path: '...
src/layouts/index.js
hologram-io/docs
import React from 'react' import Helmet from 'react-helmet' import { Navbar } from '../components' import '../scss/main.scss' import { SEO_DEFAULTS } from '../constants' const { TITLE, DESCRIPTION, KEYWORDS } = SEO_DEFAULTS; /* This layout is applied to any page in the "pages" folder. */ class Basic extends React.Co...
packages/jsx_orphaned_brackets_transformer/run.js
zofuthan/react
#!/usr/bin/env node 'use strict'; var FileFinder = require('node-find-files'); var fs = require('graceful-fs'); var jstransform = require('jstransform'); var path = require('path'); var visitReactTag = require('./transforms/react').visitReactTag; /*eslint-disable no-shadow*/ var S = jstransform.Syntax; var USAGE = ...
ajax/libs/ember-data.js/1.13.4/ember-data.js
maruilian11/cdnjs
(function() { "use strict"; var ember$data$lib$system$adapter$$get = Ember.get; /** An adapter is an object that receives requests from a store and translates them into the appropriate action to take against your persistence layer. The persistence layer is usually an HTTP API, but ...
ajax/libs/material-ui/4.9.8/Select/SelectInput.min.js
cdnjs/cdnjs
"use strict";var _interopRequireWildcard=require("@babel/runtime/helpers/interopRequireWildcard"),_interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _extends2=_interopRequireDefault(require("@babel/runtime/help...
app/javascript/mastodon/features/compose/components/compose_form.js
tateisu/mastodon
import React from 'react'; import CharacterCounter from './character_counter'; import Button from '../../../components/button'; import ImmutablePropTypes from 'react-immutable-proptypes'; import PropTypes from 'prop-types'; import ReplyIndicatorContainer from '../containers/reply_indicator_container'; import Autosugges...
classic/src/scenes/wbfa/generated/FABSlack.free.js
wavebox/waveboxapp
import React from 'react' import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' import { faSlack } from '@fortawesome/free-brands-svg-icons/faSlack' export default class FABSlack extends React.Component { render () { return (<FontAwesomeIcon {...this.props} icon={faSlack} />) } }
router_homemade/with_universal_router/src/Link.js
Muzietto/react-playground
import React from 'react'; import navigateTo from './navigation' const transition = event => { event.preventDefault(); const path = event.currentTarget.pathname; navigateTo(path); }; export default ({ href, children }) => ( <React.Fragment> <a href={href} onClick={transition}>{children}</a> <br/> </...
client/modules/Banner/components/BannerList/BannerList.js
lordknight1904/bigvnadmin
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { Button, Table, Checkbox } from 'react-bootstrap'; import { fetchBanners, uploadBanner, toggleBanner } from '../../BannerActions'; import { getBanners, getSearch, getCurrentPage } from '../../Ban...
src/components/dashboard/recentSales.js
simors/HLifeAdmin
import React from 'react' import { Table, Tag } from 'antd' import styles from './recentSales.less' import { color } from '../../utils' const status = { 1: { color: color.green, text: 'SALE' }, 2: { color: color.yellow, text: 'REJECT' }, 3: { color: color.red, text: 'TAX' }, 4: { ...
lib/components/index.js
ryanbahniuk/isomorphic-app-boilerplate
'use strict' import React from 'react'; import store from '../store'; import { incrementClicks } from '../actions/actions'; const Index = React.createClass({ propTypes: { numClicks: React.PropTypes.number.isRequired }, handleClick: function() { const updatedClicks = this.props.numClicks + 1; store....
stories/components/atoms/footer/index.js
one-love/storybook
import React from 'react'; import cssModules from 'react-css-modules'; import styles from './footer.scss'; function Footer() { return ( <div styleName="footer"> Made by: <a href="http://tilda.center/" target="_blank">Tilda Center</a> </div> ); } export default cssModules(Footer, styles);
server/game/cards/06.2-GtR/GuardingTheRealm.js
DukeTax/throneteki
const DrawCard = require('../../drawcard.js'); class GuardingTheRealm extends DrawCard { setupCardAbilities(ability) { this.action({ title: 'Take control of character in discard pile', phase: 'marshal', target: { cardCondition: card => card.controller !==...
src/containers/classes/UnattendedClasses.js
jinqiupeter/mtsr
/** * Created by peter on 25/11/2016. */ import {bindActionCreators} from 'redux'; import {connect} from 'react-redux'; import * as components from '../../components'; import * as actions from '../../actions'; import {default as Unattended} from '../../components/classes/UnattendedClasses' function mapStateToProps(s...
admin/client/components/Lightbox.js
tony2cssc/keystone
import React from 'react'; import blacklist from 'blacklist'; import Portal from './Portal'; import Transition from 'react-addons-css-transition-group'; const BODY = document.getElementsByTagName('body')[0]; var Lightbox = React.createClass({ displayName: 'Lightbox', propTypes: { backdropClosesModal: React.PropTy...
lib/jquery/jquery-1.9.1.min.js
crissdev/kvd
/*! jQuery v1.9.1 | (c) 2005, 2012 jQuery Foundation, Inc. | jquery.org/license //@ sourceMappingURL=jquery.min.map */(function(e,t){var n,r,i=typeof t,o=e.document,a=e.location,s=e.jQuery,u=e.$,l={},c=[],p="1.9.1",f=c.concat,d=c.push,h=c.slice,g=c.indexOf,m=l.toString,y=l.hasOwnProperty,v=p.trim,b=function(e,t){retur...
assets/javascripts/kitten/components/graphics/icons/title-1-icon/index.js
KissKissBankBank/kitten
import React from 'react' import PropTypes from 'prop-types' export const Title1Icon = ({ color, title, ...props }) => ( <svg width="14" height="12" viewBox="0 0 14 12" xmlns="http://www.w3.org/2000/svg" {...props} > {title && <title>{title}</title>} <path d="M9.008 0v2.56h-3.04v8...
src/Label.js
insionng/react-bootstrap
import React from 'react'; import classNames from 'classnames'; import BootstrapMixin from './BootstrapMixin'; const Label = React.createClass({ mixins: [BootstrapMixin], getDefaultProps() { return { bsClass: 'label', bsStyle: 'default' }; }, render() { let classes = this.getBsClassSe...
client/src/App.js
JetRunner/epictodo
import './css/common.css'; import 'typeface-roboto'; import React, { Component } from 'react'; import { render } from 'react-dom'; import { Router, Route, IndexRoute, hashHistory} from 'react-router'; import Todos from './components/Todos'; import Signup from './components/Signup'; import Login from './components/Logi...
application/components/profile/Profile.js
buildreactnative/assemblies-tutorial
import Icon from 'react-native-vector-icons/Ionicons'; import NavigationBar from 'react-native-navbar'; import React, { Component } from 'react'; import { ScrollView, Text, View, Image, TouchableOpacity } from 'react-native'; import Colors from '../../styles/colors'; import BackButton from '../shared/BackButton'; impo...
client/src/views/Logo.js
MissUchiha/CANX
import React from 'react' function Logo() { return ( <div> <figure> <img src="static/img/logo_white_on_transparent.png" alt="CANX" className="logo"/> </figure> </div> ) } export default Logo
vendor/ezsystems/platform-ui-assets-bundle/Resources/public/vendors/yui3/build/event-custom-base/event-custom-base.js
pg18/perso_website
/* YUI 3.18.1 (build f7e7bcb) Copyright 2014 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add('event-custom-base', function (Y, NAME) { /** * Custom event engine, DOM event listener abstraction layer, synthetic DOM * events. * @module event-custom */ Y.En...
4.2.0/src/components/PureInput.js
erikras/redux-form-docs
import React, { Component, PropTypes } from 'react' class PureInput extends Component { shouldComponentUpdate(nextProps) { return this.props.field !== nextProps.field } render() { const { field, ...rest } = this.props return <input {...field} {...rest}/> } } PureInput.propTypes = { field: PropT...
src/CollapsibleMixin.js
PeterDaveHello/react-bootstrap
import React from 'react'; import TransitionEvents from './utils/TransitionEvents'; import deprecationWarning from './utils/deprecationWarning'; let warned = false; const CollapsibleMixin = { propTypes: { defaultExpanded: React.PropTypes.bool, expanded: React.PropTypes.bool }, getInitialState(){ l...
ajax/libs/alexandernst-angular-multi-select/7.4.3/angular-multi-select.js
jonobr1/cdnjs
"use strict"; var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = ...
ajax/libs/react-sortable-hoc/0.2.0/react-sortable-hoc.min.js
sashberd/cdnjs
!function(root,factory){"object"==typeof exports&&"object"==typeof module?module.exports=factory(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["react","react-dom"],factory):"object"==typeof exports?exports.SortableHOC=factory(require("react"),require("react-dom")):root.SortableHOC...
app/components/H3/index.js
sulthan16/awesome-jr-frontend-sulthan
import React from 'react'; function H3(props) { return ( <h3 {...props} /> ); } export default H3;
ajax/libs/yui/3.7.0/datatable-core/datatable-core.js
mikesir87/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...
src/client/handlers/AppHandler.js
janicduplessis/imessage-client
import React from 'react'; import StyleSheet from 'react-style'; import TransitionGroup from 'react/lib/ReactCSSTransitionGroup'; import ThemeManager from 'material-ui/lib/styles/theme-manager'; import {branch} from 'baobab-react/decorators'; import {RouteHandler} from 'react-router'; import NavBar from '../components...
src/svg-icons/av/music-video.js
pomerantsev/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let AvMusicVideo = (props) => ( <SvgIcon {...props}> <path d="M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H3V5h18v14zM8 15c0-1.66 1.34-3 3-3 .35 0 .69.07 1 .18V6h5v2h-3v7.03c-.0...
ajax/libs/raven.js/3.24.1/raven.js
sashberd/cdnjs
/*! Raven.js 3.24.1 (f3b3500) | github.com/getsentry/raven-js */ /* * Includes TraceKit * https://github.com/getsentry/TraceKit * * Copyright 2018 Matt Robenolt and other contributors * Released under the BSD license * https://github.com/getsentry/raven-js/blob/master/LICENSE * */ (function(f){if(typeof expor...
test/containers/CounterPage.spec.js
SixSecondMonks/sos-electron
import { expect } from 'chai'; import React from 'react'; import { renderIntoDocument, scryRenderedDOMComponentsWithTag, findRenderedDOMComponentWithClass, Simulate } from 'react-addons-test-utils'; import { Provider } from 'react-redux'; import CounterPage from '../../app/containers/CounterPage'; import config...
src/SplitToggle.js
mxc/react-bootstrap
import React from 'react'; import DropdownToggle from './DropdownToggle'; export default class SplitToggle extends React.Component { render() { return ( <DropdownToggle {...this.props} useAnchor={false} noCaret={false} /> ); } } SplitToggle.defaultProps = DropdownToggle...
app/javascript/mastodon/features/compose/index.js
pfm-eyesightjp/mastodon
import React from 'react'; import ComposeFormContainer from './containers/compose_form_container'; import NavigationContainer from './containers/navigation_container'; import PropTypes from 'prop-types'; import ImmutablePropTypes from 'react-immutable-proptypes'; import { connect } from 'react-redux'; import { mountCom...
ajax/libs/glamorous/4.1.2/glamorous.umd.tiny.js
froala/cdnjs
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('react'), require('glamor')) : typeof define === 'function' && define.amd ? define(['react', 'glamor'], factory) : (global.glamorous = factory(global.React,global.Glamor)); }(this, (function ...
example/examples/PolylineCreator.js
carleryd/react-native-maps
import React from 'react'; import { StyleSheet, View, Text, Dimensions, TouchableOpacity, } from 'react-native'; import MapView from 'react-native-maps'; const { width, height } = Dimensions.get('window'); const ASPECT_RATIO = width / height; const LATITUDE = 37.78825; const LONGITUDE = -122.4324; const LA...
packages/material-ui-icons/src/LeakRemove.js
AndriusBil/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from 'material-ui/SvgIcon'; let LeakRemove = props => <SvgIcon {...props}> <path d="M10 3H8c0 .37-.04.72-.12 1.06l1.59 1.59C9.81 4.84 10 3.94 10 3zM3 4.27l2.84 2.84C5.03 7.67 4.06 8 3 8v2c1.61 0 3.09-.55 4.27-1.46L8.7 9.97C7.14 11.24 5....
src/06-components/ResultsItem.js
benmvp/react-workshop
import React from 'react' const ResultsItem = ({ id, title, url, rating, previewUrl }) => { return ( <section key={id} className="card" style={{ width: '300px', display: 'inline-block', marginRight: '16px', }} > <video src={previewUrl} alt={title} loop au...
public/assets/js/node_modules/react-select/examples/src/components/CustomSingleValue.js
ngocson8b/6jar
import React from 'react'; import Gravatar from 'react-gravatar'; var SingleValue = React.createClass({ propTypes: { placeholder: React.PropTypes.string, value: React.PropTypes.object }, render () { var obj = this.props.value; var size = 15; var gravatarStyle = { borderRadius: 3, display: 'inline-bl...
js/jqwidgets/demos/react/app/datatable/pinnedfrozencolumn/app.js
luissancheza/sice
import React from 'react'; import ReactDOM from 'react-dom'; import JqxDataTable from '../../../jqwidgets-react/react_jqxdatatable.js'; class App extends React.Component { render() { let source = { dataType: "xml", dataFields: [ { name: 'Ship...
entry.js
change-soft8/cs-project
import React from 'react' import ReactDOM from "react-dom"; import { Router, Link, browserHistory, Route, IndexRoute } from 'react-router' import App from './src/router/App' import About from './src/router/About' import Home from './src/router/Home' import Landing from './src/router/Landing' import Logout from './src/r...
templates/jsme/8816D61E367E34DBCFA53666849E21D8.cache.js
kyro46/ILIAS_4.4_JSME_Question
jsme.onScriptDownloaded(['var $wnd = $wnd || window.parent;var __gwtModuleFunction = $wnd.jsme;var $sendStats = __gwtModuleFunction.__sendStats;$sendStats(\'moduleStartup\', \'moduleEvalStart\');var $gwt_version = "2.5.1";var $strongName = \'8816D61E367E34DBCFA53666849E21D8\';var $doc = $wnd.document;function __gwtStar...
Root.js
CostSheetApp/CostSheetsApp
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { Provider } from 'react-redux'; import routes from '../routes'; import { Router } from 'react-router'; export default class Root extends Component { render() { const { store, history } = this.props; return ( <Provider...
docs/src/shared/components/ReactMD/drawers/index.js
lwhitlock/grow-tracker
import React from 'react'; import SimpleExample from './SimpleExample'; import SimpleExampleRaw from '!!raw!./SimpleExample'; import MobileRightDrawerExample from './MobileRightDrawerExample'; import MobileRightDrawerExampleRaw from '!!raw!./MobileRightDrawerExample'; export default [{ title: 'Simple Example', d...
src/routes/login/Login.js
jaruesink/ruesinkdds
/** * 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-...
ajax/libs/material-ui/5.0.0-alpha.23/node/internal/svg-icons/MoreHoriz.js
cdnjs/cdnjs
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var React = _interopRequireWildcard(r...
app/javascript/mastodon/components/status_action_bar.js
ambition-vietnam/mastodon
import React from 'react'; import ImmutablePropTypes from 'react-immutable-proptypes'; import PropTypes from 'prop-types'; import IconButton from './icon_button'; import DropdownMenuContainer from '../containers/dropdown_menu_container'; import { defineMessages, injectIntl } from 'react-intl'; import ImmutablePureCompo...
src/components/MediaList/MediaRowBase.js
u-wave/web
import cx from 'clsx'; import React from 'react'; import PropTypes from 'prop-types'; import { useDrag } from 'react-dnd'; import { getEmptyImage } from 'react-dnd-html5-backend'; import { MEDIA } from '../../constants/DDItemTypes'; import { useMediaListContext } from './BaseMediaList'; const { useCallback, useEff...
ajax/libs/mobx-react/2.1.5/index.js
hare1039/cdnjs
(function() { function mrFactory(mobservable, React, ReactDOM) { if (!mobservable) throw new Error("mobservable-react requires the Mobservable package") if (!React) throw new Error("mobservable-react requires React to be available"); var isTracking = false; ...
example/example/static/js/jquery.min.js
okwrtdsh/django_cbv_utils
/*! jQuery v1.11.1 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */ !function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof wind...
website/server/docgenHelpers.js
ljhsai/react-native
"use strict"; var b = require('react-docgen/node_modules/recast').types.builders; var docgen = require('react-docgen'); function stylePropTypeHandler(documentation, path) { var propTypesPath = docgen.utils.getPropertyValuePath(path, 'propTypes'); if (!propTypesPath) { return; } propTypesPath = docgen.utils...
assets/cropper_sets/scripts/jquery-1.10.2.min.js
manish-kumar9a9/cars
/*! jQuery v1.10.2 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license //@ sourceMappingURL=jquery.min.map */ (function(e,t){var n,r,i=typeof t,o=e.location,a=e.document,s=a.documentElement,l=e.jQuery,u=e.$,c={},p=[],f="1.10.2",d=p.concat,h=p.push,g=p.slice,m=p.indexOf,y=c.toString,v=c.hasOwnProperty,b=f.trim...
lib/hello-react.js
gnandretta/mochify-react-example
import React from 'react'; import Immutable from 'immutable'; export default class HelloReact extends React.Component { constructor(props) { super(props); this.state = {sayHello: false}; } render() { let helloReact; if (this.state.sayHello) { helloReact = <div className="message">Hello {this.prop...
src/components/Text/Text.js
wundery/wundery-ui-react
import React from 'react'; import classnames from 'classnames'; import { spacingStyles } from '../Spacing/utils'; function Text(props) { const { block, bold, center, children, margin, muted, padding, small, theme, left, right, italic, large } = props; const st...
client_apps/canvas_quizzes/apps/statistics/js/views/questions/short_answer.js
venturehive/canvas-lms
/** @jsx React.DOM */ /* * Copyright (C) 2014 - 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. * ...
examples/server/routes.js
reactjs/react-router-redux
import React from 'react' import { Route, IndexRoute, Link } from 'react-router' const App = ({ children }) => ( <div> <header> Links: {' '} <Link to="/">Home</Link> {' '} <Link to="/foo">Foo</Link> {' '} <Link to="/bar">Bar</Link> </header> {children} </div> )...
packages/material-ui-icons/src/BorderTopTwoTone.js
Kagami/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="M19 19h2v2h-2zM3 19h2v2H3zM11 19h2v2h-2zM3 11h2v2H3zM3 15h2v2H3zM7 19h2v2H7zM11 7h2v2h-2zM11 11h2v2h-2zM3 7h2v2H3zM3 3h18v2H3zM11 15h2v2h-2zM...
node_modules/react-icons/fa/upload.js
bairrada97/festival
import React from 'react' import Icon from 'react-icon-base' const FaUpload = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m30.1 32.9q0-0.6-0.5-1t-1-0.5-1 0.5-0.4 1 0.4 1 1 0.4 1-0.4 0.5-1z m5.7 0q0-0.6-0.4-1t-1-0.5-1 0.5-0.5 1 0.5 1 1 0.4 1-0.4 0.4-1z m2.8-5v7.1q0 0.9-0.6 1.5t-1.5 0.6h-32...
src/encoded/static/components/util/Schemas.js
4dn-dcic/fourfront
'use strict'; import _ from 'underscore'; import React from 'react'; import { linkFromItem } from '@hms-dbmi-bgm/shared-portal-components/es/components/util/object'; import { LocalizedTime, format as dateFormat } from '@hms-dbmi-bgm/shared-portal-components/es/components/ui/LocalizedTime'; import { patchedConsoleInst...
Practicas/TicTac2/componentes/Square.js
tonkyfiero/React_Ejercicios
/* *Importacion de Modulos */ import React from 'react'; export default class Square extends React.Component{ render(){ return( <button className="square" onClick={()=>this.props.onMouse()} > {this.props.valor} </button> ) } }
nlyyAPP/component/药物管理/研究中心/MLYwhgl.js
a497500306/nlyy_APP
/** * Sample React Native App * https://github.com/facebook/react-native * @flow */ import React, { Component } from 'react'; import { AppRegistry, StyleSheet, Text, View, TouchableOpacity, Navigator, ListView, Alert } from 'react-native'; //时间操作 var moment = require('moment'); mom...
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 {...
js/components/singleBookmark/index.js
kondoSoft/que_hacer_movil
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { actions } from 'react-native-navigation-redux-helpers'; import { Image, Linking, Dimensions } from 'react-native' import { Container, Header, Content, Fab, Text,Thumbnail, Button, Icon, Item, Input, Left, Right, Body, H3, View } f...
pet-projects/list-of-stuff/App_example.js
oka-haist/codeHere
import React from 'react'; import ReactDOM from 'react-native'; import Posts from './components/Posts.jsx'; import Footer from './components/Footer.jsx'; import { Button,Badge } from 'reactstrap'; import 'bootstrap/dist/css/bootstrap.css'; require('./public/stylesheets/bootstrap.css'); class App extends React.Componen...
src/svg-icons/image/filter-drama.js
tan-jerene/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageFilterDrama = (props) => ( <SvgIcon {...props}> <path d="M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.61 5.64 5.36 8.04 2.35 8.36 0 10.9 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4...
examples/slorber-scalable-frontend/src/randomGif/RandomGif.js
mpeyper/redux-subspace
import React from 'react' import { connect } from 'react-redux' import { getGif } from './actions' const RandomGif = ({ loading, src, getGif }) => ( <div style={{ width: '100px' }}> <button onClick={getGif} disabled={loading}>{ loading ? "Loading..." : "Get Gif" }</button> { src && <div><img alt="Gif" src={s...
lib/cli/generators/REACT_NATIVE/template-csf/storybook/stories/Welcome/index.js
storybooks/react-storybook
import React from 'react'; import PropTypes from 'prop-types'; import { View, Text } from 'react-native'; export default class Welcome extends React.Component { styles = { wrapper: { flex: 1, padding: 24, justifyContent: 'center', }, header: { fontSize: 18, marginBottom: 18,...
files/domcom/0.1.2/domcom.min.js
perosb/jsdelivr
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):"object"==typeof exports?exports.dc=e():t.dc=e()}(this,function(){return function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return t[r].call(o.exp...
src/components/LoaderCentered.js
ademuk/features
import React from 'react'; import { Loader } from 'semantic-ui-react'; const LoaderCentered = () => { return <Loader active inline='centered' /> }; export default LoaderCentered;
app/javascript/mastodon/components/modal_root.js
glitch-soc/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import 'wicg-inert'; import { createBrowserHistory } from 'history'; import { multiply } from 'color-blend'; export default class ModalRoot extends React.PureComponent { static contextTypes = { router: PropTypes.object, }; static propTypes = { ...
src/assets/js/react/components/Template/TemplateHeaderNavigation.js
blueliquiddesigns/gravity-forms-pdf-extended
import React from 'react' import PropTypes from 'prop-types' import { connect } from 'react-redux' import { withRouter } from 'react-router-dom' /** * Renders the template navigation header that get displayed on the * /template/:id pages. * * @package Gravity PDF * @copyright Copyright (c) 2020, Blue Liquid...
third_party/font-awesome/License_files/jquery.min.js
google/dana
/*! 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...
src/parser/priest/holy/modules/spells/Renew.js
ronaldpereira/WoWAnalyzer
import React from 'react'; import SPELLS from 'common/SPELLS'; import Analyzer from 'parser/core/Analyzer'; import DistanceMoved from 'parser/shared/modules/others/DistanceMoved'; import SpellUsable from 'parser/shared/modules/SpellUsable'; import SpellLink from 'common/SpellLink'; import { ABILITIES_THAT_TRIGGER_END...
ajax/libs/react-redux-form/1.11.0/ReactReduxForm.min.js
sufuf3/cdnjs
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-redux"),require("redux"),require("react-dom")):"function"==typeof define&&define.amd?define(["react","react-redux","redux","react-dom"],t):"object"==typeof exports?exports.ReactReduxForm=t(require("react"),...
docs-ui/components/barChart.stories.js
beeftornado/sentry
import React from 'react'; import {withInfo} from '@storybook/addon-info'; import BarChart from 'app/components/charts/barChart'; export default { title: 'DataVisualization/Charts/BarChart', }; export const _BarChart = withInfo('Stacked & Unstacked Bar Charts')(() => { return ( <div> <BarChart ...
src/svg-icons/content/block.js
ruifortes/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ContentBlock = (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 2zM4 12c0-4.42 3.58-8 8-8 1.85 0 3.55.63 4.9 1.69L5.69 16.9C4.63 15.55 4 13.85 4 12zm8 8...
packages/lore-generate-new/templates/es6/src/components/RemoveLoadingScreen.js
lore/lore
/** * This component removes the loading screen. It does so by adding a class to hide it, * and then removes it from the DOM by setting the display property to 'none'. */ import React from 'react'; import PropTypes from 'prop-types'; export default class RemoveLoadingScreen extends React.Component { /* * Th...
client/src/index.js
Tapiiri/ChatBest
import React from 'react'; import ReactDOM from 'react-dom'; import App from './App'; import './index.css'; ReactDOM.render( <App />, document.getElementById('root') );
app/assets/javascripts/nabu_editor/dashboard.js
Sense-Studios/nabu_editor
/* globals initControls initDescribe sections/showCreateMovie sections/showDescribeMovie sections/showPublishMovie sections/showSettingsMovie sections/showQuestionsMovie checkUserAgent setDataFromProgram getPlayer resetMarqers setMarqers animateVideoUp animateVideoDown doControl filter_table mount_point */ // necces...
src/routes/Film/components/FilmView.js
jhash/jhash
import './FilmView.scss' import React from 'react' export class FilmView extends React.Component { static propTypes = {} render () { return ( <div className='view--film row' /> ) } } export default FilmView
src/index.js
cowback/charcode-client
import React from 'react' import ReactDOM from 'react-dom' import { connect } from 'react-redux' import logger from 'redux-logger' import thunk from 'redux-thunk' import multi from 'redux-multi' import { createStore, combineReducers, applyMiddleware } from 'redux' import { Provider } from 'react-redux' import { Connec...
app/creation/index.js
soryylinl/Gougoushuo
import React from 'react'; import { StyleSheet, Text, View, ListView, TouchableHighlight, Image, Dimensions, ActivityIndicator, RefreshControl, AlertIOS } from 'react-native'; import Icon from 'react-native-vector-icons/Ionicons'; import request from './../common/request'; import config from './../common/config'; ...
stories/Welcome.js
k2data/k2-react-components
import React from 'react' import PropTypes from 'prop-types' const styles = { main: { margin: 15, maxWidth: 600, lineHeight: 1.4, fontFamily: '"Helvetica Neue", Helvetica, "Segoe UI", Arial, freesans, sans-serif', }, logo: { width: 200, }, link: { color: '#1474f3', textDecoratio...
src/entypo/Mouse.js
cox-auto-kc/react-entypo
import React from 'react'; import EntypoIcon from '../EntypoIcon'; const iconClass = 'entypo-svgicon entypo--Mouse'; let EntypoMouse = (props) => ( <EntypoIcon propClass={iconClass} {...props}> <path d="M15.402,14.402l-2.627-7.535c-0.722-2.073-2.966-3.22-5.092-2.653L5.707,0.379C5.528,0.033,5.109-0.1,4.769...
ajax/libs/react-redux/3.0.1/react-redux.min.js
seogi1004/cdnjs
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react"),require("redux")):"function"==typeof define&&define.amd?define(["react","redux"],e):"object"==typeof exports?exports.ReactRedux=e(require("react"),require("redux")):t.ReactRedux=e(t.React,t.Redux)}(this,function(t,e){retu...
pages/api/dialog-content.js
allanalexandre/material-ui
import 'docs/src/modules/components/bootstrap'; // --- Post bootstrap ----- import React from 'react'; import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs'; import markdown from './dialog-content.md'; function Page() { return <MarkdownDocs markdown={markdown} />; } export default Page;