path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
app/components/Release.js
jackokerman/discogs-dj
import React from 'react'; import { Grid, Row, Col, Image } from 'react-bootstrap'; import ReleaseTitle from './ReleaseTitle'; import ReleaseHeader from './ReleaseHeader'; import TrackList from './TrackList.js'; export default class Release extends React.Component { render() { const { release } = this.props; ...
src/pages/Home.js
CasperLaiTW/ICD-10-CM-Seeker
import React from 'react'; import { connect } from 'react-redux'; import Spinkit from "react-spinkit"; import { loadRoot } from '../actions/RootActions'; import { Seeker } from '../components/'; class Home extends React.Component { constructor(props, context) { super(props, context); } componentWillMount(...
test/NavDropdownSpec.js
bbc/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import NavDropdown from '../src/NavDropdown'; import MenuItem from '../src/MenuItem'; describe('NavDropdown', () => { it('Should render li when in nav', () => { const instance = ReactTestUtils.renderIntoDocument( <NavDropdow...
src/AffixMixin.js
aabenoja/react-bootstrap
import React from 'react'; import domUtils from './utils/domUtils'; import EventListener from './utils/EventListener'; const AffixMixin = { propTypes: { offset: React.PropTypes.number, offsetTop: React.PropTypes.number, offsetBottom: React.PropTypes.number }, getInitialState() { return { a...
src/uic/RangeSelector.js
ajaycheenath/earthquake
import React, { Component } from 'react'; import rangeStyle from "../css/range.css"; class RangeSelector extends Component { static propTypes = { start: React.PropTypes.number, end: React.PropTypes.number, selectedRange: React.PropTypes.number, onClick: React.PropTypes.func }; rend...
src/components/Struktur.js
kido1611/Riset_CCC
import React from 'react'; import SelectField from 'material-ui/SelectField'; import MenuItem from 'material-ui/MenuItem'; import axios from 'axios'; class Struktur extends React.Component{ constructor(){ super(); this.state = { value: '', list: [], data: [], } } loadData(data){ var _this = th...
ajax/libs/angular-google-maps/2.1.0-X.4/angular-google-maps_dev_mapped.js
lucasls/cdnjs
/*! angular-google-maps 2.1.0-X.4 2015-03-10 * AngularJS directives for Google Maps * git: https://github.com/angular-ui/angular-google-maps.git */ ; (function( window, angular, undefined ){ 'use strict'; /* ! The MIT License Copyright (c) 2010-2013 Google, Inc. http://angularjs.org Permission is hereby grante...
src/client/story.js
ducthien1490/hacker-menu
import React from 'react' export default class Story extends React.Component { markAsRead () { this.props.onMarkAsRead(this.props.story.id) } openUrl (url) { this.props.onUrlClick(url) } handleYurlOnClick (e) { e.preventDefault() this.openUrl(this.props.story.yurl) } handleByOnClick (e...
src/components/Bulk/BulkCreateView/Conversion/Conversion.js
City-of-Helsinki/helerm-ui
import React from 'react'; import PropTypes from 'prop-types'; import { find, includes, isArray, isEmpty, keys, map, sortBy } from 'lodash'; import moment from 'moment'; import DatePicker from 'react-datepicker'; import Select from 'react-select'; import CreatableSelect from 'react-select/creatable'; import { BULK_U...
node_modules/react-icons/md/smoking-rooms.js
bengimbel/Solstice-React-Contacts-Project
import React from 'react' import Icon from 'react-icon-base' const MdSmokingRooms = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m26.7 17c3.1 0 5.8 2.2 5.8 5.3v2.7h-2.5v-2.2c0-2.2-1.6-3.3-3.3-3.3h-2.6c-3 0-5.5-2.6-5.5-5.7s2.5-5.5 5.5-5.5v2.5c-1.7 0-3 1.2-3 2.9s1.3 3.3 3 3.3h2.6z m4.7-4.1c3...
src/SurveyCreation/Questions.js
cityofsurrey/polltal-app
import React from 'react' import PropTypes from 'prop-types' import Radium from 'radium' import FlatCard from 'components/FlatCard' import TextArea from 'components/TextArea' import SecondaryButton from 'components/Buttons/SecondaryButton' const styles = { root: { textAlign: 'center', padding: '30px 20px', ...
src/views/tick.js
TannerRogalsky/np_visualizer
import React from 'react'; import {Link} from 'react-router'; import {connect} from 'react-redux'; import Layout from './layout'; import Player from './player'; import Star from './star'; import Fleet from './fleet'; const Tick = React.createClass({ propTypes: { params: React.PropTypes.shape({ gameId: Reac...
packages/material-ui-icons/src/InsertCommentTwoTone.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M4 16h14.83L20 17.17V4H4v12zM6 6h12v2H6V6zm0 3h12v2H6V9zm0 3h12v2H6v-2z" opacity=".3" /><path d="M20 2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4V4c0-1.1-.9-2-2-2zm0 2v13.17L18.83 16H4V...
src/svg-icons/image/panorama-vertical.js
xmityaz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImagePanoramaVertical = (props) => ( <SvgIcon {...props}> <path d="M19.94 21.12c-1.1-2.94-1.64-6.03-1.64-9.12 0-3.09.55-6.18 1.64-9.12.04-.11.06-.22.06-.31 0-.34-.23-.57-.63-.57H4.63c-.4 0-.63.23-.63.57 0 .1.02...
lib/components/elements/google-maps/props-schema.js
GordonDiggs/relax
import {Types} from '../../../data-types'; import React from 'react'; export default [ { label: 'Zoom', type: Types.Number, id: 'zoom', props: { min: 0, max: 21, label: <i className='fa fa-search'></i> } }, { label: 'Latitude', type: Types.String, id: 'lat' }, ...
src/stories/index.js
mathworld-games/math-game-web
import React from 'react'; import {storiesOf} from '@storybook/react'; import {action} from '@storybook/addon-actions'; import {linkTo} from '@storybook/addon-links'; import {MemoryRouter} from 'react-router'; import Game from '../components/game-v.0.1/game/game'; import {Button, Welcome} from '@storybook/react/demo...
ajax/libs/react-native-web/0.13.10/cjs/exports/AppRegistry/renderApplication.js
cdnjs/cdnjs
"use strict"; exports.__esModule = true; exports.default = renderApplication; exports.getApplication = getApplication; var _AppContainer = _interopRequireDefault(require("./AppContainer")); var _invariant = _interopRequireDefault(require("fbjs/lib/invariant")); var _render = _interopRequireWildcard(require("../rend...
src/components/Folders.js
robshocks/frontboost
import React from 'react'; import { connect } from 'react-redux'; import { Link } from 'react-router'; const mapStateToProps = ({ cards, cardFilter, folders, addingFolder }) => ({ folders, addingFolder }); const mapDispatchToProps = dispatch => ({ addFolder: name => dispatch(addFolder(name)), showAddDeck: ...
modules/Redirect.js
kurayama/react-router
import React from 'react' import invariant from 'invariant' import { createRouteFromReactElement } from './RouteUtils' import { formatPattern } from './PatternUtils' import { falsy } from './PropTypes' const { string, object } = React.PropTypes /** * A <Redirect> is used to declare another URL path a client should b...
ui/app/components/addressbook/key_list_item.js
leapcode/bitmask-dev
// // A key in the list of keys // import React from 'react' import { Glyphicon, Button, ButtonToolbar, Label } from 'react-bootstrap' import bitmask from 'lib/bitmask' export default class KeyListItem extends React.Component { static get defaultProps() {return{ data: null, // the key as an Object ...
src/components/Sidebar/Menu/Menu.js
bapti/blog
// @flow strict import React from 'react'; import { Link } from 'gatsby'; import styles from './Menu.module.scss'; type Props = { menu: { label: string, path: string }[] }; const Menu = ({ menu }: Props) => ( <nav className={styles['menu']}> <ul className={styles['menu__list']}> {menu.map((ite...
app/containers/LanguageProvider/index.js
SenyOrg/kekecmed-frontend
/* * * LanguageProvider * * this component connects the redux state language locale to the * IntlProvider component and i18n messages (loaded from `app/translations`) */ import React from 'react'; import { connect } from 'react-redux'; import { createSelector } from 'reselect'; import { IntlProvider } from 'reac...
step7-flux/node_modules/react-router/es6/PropTypes.js
jintoppy/react-training
'use strict'; export { falsy }; import { PropTypes } from 'react'; var func = PropTypes.func; var object = PropTypes.object; var arrayOf = PropTypes.arrayOf; var oneOfType = PropTypes.oneOfType; var element = PropTypes.element; var shape = PropTypes.shape; var string = PropTypes.string; function falsy(props, propNam...
src/js/components/icons/LocationsIcon.js
grommet/grommet-people-finder
// (C) Copyright 2014-2016 Hewlett Packard Enterprise Development LP /* eslint-disable max-len, react/self-closing-comp */ import React, { Component } from 'react'; import PropTypes from 'prop-types'; import SVGIcon from 'grommet/components/SVGIcon'; export default class LocationsIcon extends Component { render() {...
src/scripts/components/dropdown/Dropdown.component.story.js
kodokojo/kodokojo-ui-commons
/** * Kodo Kojo - Software factory done right * Copyright © 2017 Kodo Kojo (infos@kodokojo.io) * * This program 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 ...
src/svg-icons/places/free-breakfast.js
rscnt/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let PlacesFreeBreakfast = (props) => ( <SvgIcon {...props}> <path d="M20 3H4v10c0 2.21 1.79 4 4 4h6c2.21 0 4-1.79 4-4v-3h2c1.11 0 2-.9 2-2V5c0-1.11-.89-2-2-2zm0 5h-2V5h2v3zM4 19h16v2H4z"/> </SvgIcon> ); PlacesFre...
fixtures/fiber-debugger/src/index.js
silvestrijonathan/react
import React from 'react'; import ReactDOM from 'react-dom'; import App from './App'; import './index.css'; ReactDOM.render(<App />, document.getElementById('root'));
examples/cra-kitchen-sink/src/stories/welcome.stories.js
kadirahq/react-storybook
import React from 'react'; import { Welcome } from '@storybook/react/demo'; import { linkTo } from '@storybook/addon-links'; export default { title: 'Welcome', component: Welcome, }; export const Story1 = () => <Welcome showApp={linkTo('Button')} />; Story1.title = 'to Storybook';
js/pages/logframe/components/main.js
mercycorps/TolaActivity
import React from 'react'; import { inject } from 'mobx-react'; import SubTitleRow from './subtitle'; import LogframeTable from './table'; const LogframeApp = () => { return ( <React.Fragment> <SubTitleRow /> <table className="logframe__table table table-sm table-bordered bg-white ...
src/forms/formHelpers.js
shp54/cliff-effects
// REACT COMPONENTS import React, { Component } from 'react'; import { // Generic Form stuff Button, Header, Segment, Divider, Form, Label, Radio, Grid, // Input, Checkbox, } from 'semantic-ui-react'; // UTILITIES import { toMonthlyAmount } from '../utils/math'; import { isPositiveNumber } from '...
components/Form/RadioGroup/RadioGroup.js
NGMarmaduke/bloom
import PropTypes from 'prop-types'; import React, { Component } from 'react'; import Radio from '../Radio/Radio'; import noop from '../../../utils/noop'; export default class RadioGroup extends Component { static propTypes = { Input: PropTypes.oneOfType([ PropTypes.func, PropTypes.string, ]), ...
packages/material-ui-icons/src/PhoneInTalk.js
cherniavskii/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <g><path d="M20 15.5c-1.25 0-2.45-.2-3.57-.57-.35-.11-.74-.03-1.02.24l-2.2 2.2c-2.83-1.44-5.15-3.75-6.59-6.59l2.2-2.21c.28-.26.36-.65.25-1C8.7 6.45 8.5 5.25 8.5 4c0-.55-.45-1-1-1H4c-.55 0-1 .45-1 1 0 9.39 7.61...
studenttable/src/comp/table.js
balaSpyrus/wave11
import React, { Component } from 'react'; export default class TabComp extends Component{ getSubjects=(data)=>{ let subs=[] if(data.length !==0){ subs = data[0].subjects.map((sub,i)=><th key={i}>{sub.subject}</th>) } return subs } render(){ return( <table > <tbody> <tr> <th>nam...
src/App.js
nyugoh/blog
import React, { Component } from 'react'; import { Switch, Route } from 'react-router-dom'; import Admin from './Admin'; import Blog from './Blog'; import Contact from './Contact'; class App extends Component { render() { return ( <div> <Switch> <Route path={'/admin'} component={Admin}/> <...
examples/persist-react/src/index.js
rematch/rematch
import React from 'react' import ReactDOM from 'react-dom' import { Provider } from 'react-redux' import { init } from '@rematch/core' import Spinner from 'react-spinkit' import createPersistPlugin, { getPersistor } from '@rematch/persist' import { PersistGate } from 'redux-persist/es/integration/react' import storage ...
ajax/libs/foundation/4.0.5/js/vendor/jquery.min.js
Majkl578/cdnjs
(function(e,t){function n(e){var t=e.length,n=lt.type(e);return lt.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e)}function i(e){var t=wt[e]={};return lt.each(e.match(ut)||[],function(e,n){t[n]=!0}),t}function r(e,n,i,r){if(lt.acceptData(e)){var o,a,s=lt.expan...
examples/todomvc/src/components/Header.spec.js
gaearon/redux
import React from 'react' import { createRenderer } from 'react-test-renderer/shallow'; import Header from './Header' import TodoTextInput from '../components/TodoTextInput' const setup = () => { const props = { addTodo: jest.fn() } const renderer = createRenderer(); renderer.render(<Header {...props} />)...
src/components/Sidebar/Sidebar-test.js
wfp/ui
import React from 'react'; import Sidebar, {SidebarHeader, SidebarScroll, SidebarBackButton} from '../Sidebar'; import { shallow } from 'enzyme'; describe('Sidebar', () => { describe('Renders as expected', () => { const wrapper = shallow(<Sidebar className="some-class" >Content</Sidebar>) it('has ...
js/App/Components/Location/AddLocation/LocationName.js
telldus/telldus-live-mobile-v3
/** * Copyright 2016-present Telldus Technologies AB. * * This file is part of the Telldus Live! app. * * Telldus Live! app is free : 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 *...
components/com_jce/editor/libraries/jquery/js/jquery-1.10.2.min.js
MiMartinezcomSAS/redPlaneta
/*! jQuery v1.10.2 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license*/ (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,x=function(e,t){return new x.fn.init...
ajax/libs/forerunnerdb/1.3.711/fdb-core.js
keicheng/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/app/component/order-confirmation-item/order-confirmation-item.js
all3dp/printing-engine-client
import PropTypes from 'prop-types' import React from 'react' import propTypes from '../../prop-types' import cn from '../../lib/class-names' const OrderConfirmationItem = ({classNames, icon, title = null, date = null, active = false}) => ( <div className={cn('OrderConfirmationItem', {active}, classNames)}> <div...
src/js/components/icons/base/BrandGrommetOutline.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...
information/blendle-frontend-react-source/app/components/icons/Check.js
BramscoChill/BlendleParser
import React from 'react'; import PropTypes from 'prop-types'; const Check = ({ className, fill }) => ( <svg viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg" className={className}> <g> <path d="M6,16 L0.41264648,9.91162109 L2.43920898,7.82958984 L6,11.6953125 L15.9,1.8 L18,4 L6,...
ajax/libs/yui/3.9.0/event-custom-base/event-custom-base-debug.js
mival/cdnjs
YUI.add('event-custom-base', function (Y, NAME) { /** * Custom event engine, DOM event listener abstraction layer, synthetic DOM * events. * @module event-custom */ Y.Env.evt = { handles: {}, plugins: {} }; /** * Custom event engine, DOM event listener abstraction layer, synthetic DOM * events. * @mo...
rojak-ui-web/src/app/pairing/Pairing.js
pyk/rojak
import React from 'react' import { connect } from 'react-redux' import { Link } from 'react-router' import { fetchPairing } from './actions' import Card from '../kit/Card' import SimpleList from '../kit/SimpleList' import SocialMedia from '../kit/SocialMedia' class Pairing extends React.Component { static propTypes ...
src/routes/topicPage/index.js
xugy0926/shuoriyu
import React from 'react'; import TopicPage from './TopicPage'; import fetch from '../../core/fetch'; import { host } from '../../config'; import * as topicService from '../../services/topicService'; export default { path: '/topic/:tid', async action(context, {tid}) { return <TopicPage topicId={tid}/>; }, ...
ajax/libs/video.js/4.8.3/video.dev.js
sevypannella/cdnjs
/** * @fileoverview Main function src. */ // HTML5 Shiv. Must be in <head> to support older browsers. document.createElement('video'); document.createElement('audio'); document.createElement('track'); /** * Doubles as the main function for users to create a player instance and also * the main library object. * ...
vendor/jquery/jquery.min.js
nthline/nthline.github.io
/*! jQuery v1.12.4 | (c) jQuery Foundation | 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 window?window:this,fu...
src/GridList/Tiles.js
gutenye/react-mc
// @flow import React from 'react' import cx from 'classnames' import type { PropsC } from '../types' class Tiles extends React.Component { props: PropsC static defaultProps = { component: 'ul', } static displayName = 'GridList.Tiles' render() { const { component: Component, className, ...rest } = ...
examples/ui-web-samples/react/src/components/DefaultPanel.js
layerhq/layer-js-sampleapps
import React, { Component } from 'react'; import ConversationHeader from './ConversationHeader'; /** * The router loads this Component when no Conversation * is currently the active Conversation, and a New Conversation * is not currently being created. */ export default class DefaultPanel extends Component { ren...
packages/material-ui-icons/src/SystemUpdate.js
AndriusBil/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from 'material-ui/SvgIcon'; let SystemUpdate = props => <SvgIcon {...props}> <path d="M17 1.01L7 1c-1.1 0-2 .9-2 2v18c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V3c0-1.1-.9-1.99-2-1.99zM17 19H7V5h10v14zm-1-6h-3V8h-2v5H8l4 4 4-4z" /> </SvgIcon>; ...
src/shared/FormElements.js
VasilyShelkov/ClientRelationshipManagerUI
import React, { Component } from 'react'; import Cookies from 'js-cookie'; import { TextField } from '@material-ui/core'; import { TextField as ReduxFormTextField } from 'redux-form-material-ui'; import places from 'places.js'; import { red600 } from 'material-ui/styles/colors'; import ErrorIcon from 'material-ui/svg-...
ajax/libs/3Dmol/1.1.1/3Dmol-min.js
joeyparrish/cdnjs
(function(q,ga){"object"===typeof module&&"object"===typeof module.exports?module.exports=q.document?ga(q,!0):function(q){if(!q.document)throw Error("jQuery requires a window with a document");return ga(q)}:ga(q)})("undefined"!==typeof window?window:this,function(q,ga){function Da(a){var b="length"in a&&a.length,c=d.ty...
src/Stepper/Stepper.spec.js
mtsandeep/material-ui
/* eslint-env mocha */ import React from 'react'; import {shallow} from 'enzyme'; import {assert} from 'chai'; import Stepper from './Stepper'; import getMuiTheme from '../styles/getMuiTheme'; describe('<Stepper />', () => { const muiTheme = getMuiTheme(); const shallowWithContext = (node, context = {}) => { ...
pages/hackernews/components/layout.js
hschlichter/react-demo
import React, { Component } from 'react'; import HackerNews from './hackernews'; export default class Layout extends Component { render() { return ( <div> <hr /> <div> <HackerNews /> </div> </div> ); } }
node_modules/react-tools/src/core/__tests__/ReactCompositeComponent-test.js
jbarradas/Service-Center-TV
/** * 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...
src/components/Menu/MenuList.js
sk-iv/iva-app
import React from 'react'; import PropTypes from 'prop-types'; import { findDOMNode } from 'react-dom'; import keycode from 'keycode'; import contains from 'dom-helpers/query/contains'; import activeElement from 'dom-helpers/activeElement'; import ownerDocument from 'dom-helpers/ownerDocument'; import List from '../Lis...
src/components/Product/ProductItem/ProductItem.js
aos2006/tesDeploy
import React from 'react'; import cx from 'classnames'; import Link from 'components/Link'; import withStyles from 'isomorphic-style-loader/lib/withStyles'; import s from './productItem.css'; export const ProductItem = ({ type, src, name, href, classes }) => ( <Link to={href} className={cx({ [s.root]: ...
src/app/components/search/SearchResultsTable/TitleCell.js
meedan/check-web
import React from 'react'; import PropTypes from 'prop-types'; import Box from '@material-ui/core/Box'; import TableCell from '@material-ui/core/TableCell'; import LayersIcon from '@material-ui/icons/Layers'; import VisibilityOffIcon from '@material-ui/icons/VisibilityOff'; import { Link } from 'react-router'; import {...
packages/reactReduxFormBase/DEV/App.js
daniloster/react-experiments
import React, { Component } from 'react'; import ErrorBoundary from './ErrorBoundary'; import AppModel from './AppModel'; import AppModelList from './AppModelList'; import AppFormState from './AppFormState'; export default class App extends Component { render() { return ( <ErrorBoundary> <AppModel ...
ajax/libs/jquery.fancytree/2.9.0/jquery.fancytree.js
BenjaminVanRyseghem/cdnjs
/*! * jquery.fancytree.js * Dynamic tree view control, with support for lazy loading of branches. * https://github.com/mar10/fancytree/ * * Copyright (c) 2008-2015, Martin Wendt (http://wwWendt.de) * Released under the MIT license * https://github.com/mar10/fancytree/wiki/LicenseInfo * * @version 2.9.0 * @dat...
src/ui/form/email/email-story.js
josmardias/frontend-boilerplate
import React from 'react' import { storiesOf } from '@kadira/storybook' import Email from '.' storiesOf('ui.Form.Email', module) .add('Default', () => ( <Email /> ))
packages/canvas-rce/src/rce/plugins/instructure_image/ImageList/Image.js
djbender/canvas-lms
/* * Copyright (C) 2019 - present Instructure, Inc. * * This file is part of Canvas. * * Canvas is free software: you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License as published by the Free * Software Foundation, version 3 of the License. * * Canvas is distribut...
app/assets/javascripts/react/views/Shared/ConfidentialLinks.js
Madek/madek-webapp
import React from 'react' import RailsForm from '../../lib/forms/rails-form.cjsx' import PageHeader from '../../ui-components/PageHeader' import f from 'lodash' import Moment from 'moment' import ui from '../../lib/ui.coffee' import currentLocale from '../../../lib/current-locale' import Link from '../../ui-components/...
ajax/libs/react-popper/0.6.7/react-popper.js
jdh8/cdnjs
/*! * React Popper 0.6.7 * https://github.com/souporserious/react-popper * Copyright (c) 2017 React Popper Authors */ (function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("react"), require("prop-types")); else ...
config/jest/fileTransform.js
emyarod/afw
'use strict'; const path = require('path'); const camelcase = require('camelcase'); // This is a custom Jest transformer turning file imports into filenames. // http://facebook.github.io/jest/docs/en/webpack.html module.exports = { process(src, filename) { const assetFilename = JSON.stringify(path.basename(fil...
public/assets/scripts/containers/resources/related.js
luisfbmelo/reda
import React from 'react'; import { Component } from 'react'; import { connect } from 'react-redux'; import { fetchRelatedResources, resetRelatedResources } from '@/actions/resources'; import { fetchConfig } from '@/actions/config'; import { bindActionCreators } from 'redux'; import RelatedResources from '@/components/...
examples/huge-apps/routes/Course/routes/Announcements/components/Announcements.js
upraised/react-router
import React from 'react'; class Announcements extends React.Component { render () { return ( <div> <h3>Announcements</h3> {this.props.children || <p>Choose an announcement from the sidebar.</p>} </div> ); } } export default Announcements;
NavigationReactNativeWeb/sample/twitter/createStateNavigator.js
grahammendick/navigation
import React from 'react'; import {Platform} from 'react-native'; import {StateNavigator} from 'navigation'; import {NavigationStack} from 'navigation-react-native'; export default () => { const stateNavigator = new StateNavigator([ {key: 'home', route: '{tab?}', defaults: {tab: 'home'}}, {key: 'notification...
ajax/libs/6to5/2.7.1/browser-polyfill.js
joeylakay/cdnjs
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.ex...
ajax/libs/ember-data.js/1.0.0-beta.15/ember-data.prod.js
khasinski/cdnjs
(function() { "use strict"; /** @module ember-data */ var ember$data$lib$system$adapter$$get = Ember.get; var ember$data$lib$system$adapter$$errorProps = [ 'description', 'fileName', 'lineNumber', 'message', 'name', 'number', 'stack' ]; /** ...
ajax/libs/yui/3.8.1/event-custom-base/event-custom-base.js
LorenzoBoccaccia/cdnjs
YUI.add('event-custom-base', function (Y, NAME) { /** * Custom event engine, DOM event listener abstraction layer, synthetic DOM * events. * @module event-custom */ Y.Env.evt = { handles: {}, plugins: {} }; /** * Custom event engine, DOM event listener abstraction layer, synthetic DOM * events. * @mo...
assets/js/vendor/jquery-1.9.1.min.js
st3v3nhunt/st3v3nhunt.github.io
/*! jQuery v1.9.1 | (c) 2005, 2012 jQuery Foundation, Inc. | jquery.org/license //@ sourceMappingURL=jquery.min.map */(function(e,t){var n,r,i=typeof t,o=e.document,a=e.location,s=e.jQuery,u=e.$,l={},c=[],p="1.9.1",f=c.concat,d=c.push,h=c.slice,g=c.indexOf,m=l.toString,y=l.hasOwnProperty,v=p.trim,b=function(e,t){return...
opentech/static_src/src/app/src/components/DetailView/index.js
OpenTechFund/WebApp
import React from 'react' import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import { withWindowSizeListener } from 'react-window-size-listener'; import { clearCurrentSubmission } from '@actions/submissions'; import DisplayPanel from '@containers/DisplayPanel'; import SlideInRight from '@compon...
ajax/libs/babel-core/4.1.1/browser.js
iwdmb/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.babel=e()}}(function(){var define,module,exports;retu...
imports/ui/pages/Documents/EditDocument/EditDocument.js
haraneesh/mydev
import React from 'react'; import PropTypes from 'prop-types'; import { withTracker } from 'meteor/react-meteor-data'; import { Meteor } from 'meteor/meteor'; import Documents from '../../../../api/Documents/Documents'; import DocumentEditor from '../../../components/DocumentEditor/DocumentEditor'; import NotFound from...
src/components/Pagination/Pagination-test.js
wfp/ui
import React from 'react'; import { iconChevronLeft, iconChevronRight } from '@wfp/icons'; import Icon from '../Icon'; import Pagination from '../Pagination'; import Select from '../Select'; import SelectItem from '../SelectItem'; import { shallow, mount } from 'enzyme'; jest.useFakeTimers(); describe('Pagination', (...
src/components/error-dialog.js
josebigio/PodCast
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import { hideError } from '../actions' class ErrorDialog extends Component { handleRetry() { this.props.retryList.forEach((fun) => { fun(); }); this.pr...
examples/todos-with-undo/src/components/Footer.js
lifeiscontent/redux
import React from 'react' import FilterLink from '../containers/FilterLink' const Footer = () => ( <p> Show: {" "} <FilterLink filter="SHOW_ALL"> All </FilterLink> {", "} <FilterLink filter="SHOW_ACTIVE"> Active </FilterLink> {", "} <FilterLink filter="SHOW_COMPLETED">...
ajax/libs/yui/3.10.1/datatable-body/datatable-body.js
SimeonC/cdnjs
YUI.add('datatable-body', function (Y, NAME) { /** View class responsible for rendering the `<tbody>` section of a table. Used as the default `bodyView` for `Y.DataTable.Base` and `Y.DataTable` classes. @module datatable @submodule datatable-body @since 3.5.0 **/ var Lang = Y.Lang, isArray = Lang.isA...
app/containers/LanguageProvider/index.js
gihrig/react-boilerplate
/* * * LanguageProvider * * this component connects the redux state language locale to the * IntlProvider component and i18n messages (loaded from `app/translations`) */ import React from 'react'; import { connect } from 'react-redux'; import { createSelector } from 'reselect'; import { IntlProvider } from 'reac...
code/schritte/redux/7-redux-complete-app/src/components/Greeting/Greeting.js
st-he/react-workshop
import React from 'react'; import {connect} from 'react-redux'; import GreetingMaster from './GreetingMaster'; import GreetingDetail from './GreetingDetail'; import {MODE_MASTER} from '../../actions'; const Greeting = ({mode}) => mode === MODE_MASTER ? <GreetingMaster /> : <GreetingDetail />; Greeting.displayName = '...
ajax/libs/ember-data.js/1.0.0-beta.6/ember-data.prod.js
fleeting/cdnjs
/*! * @overview Ember Data * @copyright Copyright 2011-2014 Tilde Inc. and contributors. * Portions Copyright 2011 LivingSocial Inc. * @license Licensed under MIT license (see license.js) * @version 1.0.0-beta.6 */ (function() { var define, requireModule; (function() { var registry = {}, seen...
kanbanboards/static/boards/js/jquery.min.js
elmiko/kanbango
/*! jQuery v1.10.1 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license //@ sourceMappingURL=jquery-1.10.1.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.1",d=p.concat,h=p.push,g=p.slice,m=p.indexOf,y=c.toString,v=c.hasOwnProperty,b...
src/pages/GameNew/components/BasicGameInfo.js
iGameLab/teleport-client
import React from 'react' import PropTypes from 'prop-types' // import config from '../../../config' export default class UploadThumbnail extends React.Component{ static propTypes = { onSubmit: PropTypes.func.isRequired } constructor(){ super() this.state = { name...
ui/src/js/common/footer/pages/Social.js
Dica-Developer/weplantaforest
import counterpart from 'counterpart'; import React, { Component } from 'react'; require('./social.less'); export default class Social extends Component { render() { var that = this; return ( <div className="container paddingTopBottom15 social"> <div className="row"> <div className="...
src/svg-icons/notification/enhanced-encryption.js
jacklam718/react-svg-iconx
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let NotificationEnhancedEncryption = (props) => ( <SvgIcon {...props}> <path d="M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zM8.9 6c0-1.71 1.39-3....
docs/src/examples/elements/Header/Variations/HeaderExampleFloating.js
Semantic-Org/Semantic-UI-React
import React from 'react' import { Header, Segment } from 'semantic-ui-react' const HeaderExampleFloating = () => ( <Segment clearing> <Header as='h2' floated='right'> Float Right </Header> <Header as='h2' floated='left'> Float Left </Header> </Segment> ) export default HeaderExampleFl...
src/components/Radial.react.js
kitematic/kitematic
import React from 'react'; import classNames from 'classnames'; var Radial = React.createClass({ render: function () { var percentage; if ((this.props.progress !== null && this.props.progress !== undefined) && !this.props.spin && !this.props.error) { percentage = ( <div className="percentage"><...
src/modules/persisted/components/Request-persisted.js
otissv/graphql-guru-ide
import React from 'react'; import autobind from 'class-autobind'; import styled from 'styled-components'; import CodeMirror from 'react-codemirror'; import '../../../../node_modules/codemirror/lib/codemirror.css'; require('codemirror/mode/javascript/javascript'); require('codemirror/addon/fold/foldgutter'); require('co...
lib/mocha/node_modules/ms/test/support/jquery.js
rhysbrettbowen/Backbone.CollectionFilter
/*! * jQuery JavaScript Library v1.7.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. ...
blueocean-material-icons/src/js/components/svg-icons/av/closed-caption.js
kzantow/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const AvClosedCaption = (props) => ( <SvgIcon {...props}> <path d="M19 4H5c-1.11 0-2 .9-2 2v12c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-8 7H9.5v-.5h-2v3h2V13H11v1c0 .55-.45 1-1 1H7c-.55 0-1-.45-1-1v-4c0-.55.45-1 1-1h3c.55 0 1 .45 1 1v1zm7...
misc/jquery.js
GrahamOD/proj3
/*! * jQuery JavaScript Library v1.4.4 * 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....
packages/icons/src/md/av/Hd.js
suitejs/suitejs
import React from 'react'; import IconBase from '@suitejs/icon-base'; function MdHd(props) { return ( <IconBase viewBox="0 0 48 48" {...props}> <path d="M38 6c2.2 0 4 1.8 4 4v28c0 2.2-1.8 4-4 4H10c-2.22 0-4-1.8-4-4V10c0-2.2 1.78-4 4-4h28zM22 30V18h-3v5h-4v-5h-3v12h3v-4h4v4h3zm4-12v12h8c1.1 0 2-.9 2-2v-8c0-...
ajax/libs/jquery/1.4.2/jquery.min.js
vdurmont/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. ...
src/interface/icons/Events.js
yajinni/WoWAnalyzer
import React from 'react'; // https://thenounproject.com/search/?q=rows&i=1819800 // Grid Many Rows by Justin White from the Noun Project const Icon = ({ ...other }) => ( <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" className="icon" {...other}> <g transform="rotate(90 27 32)"> <rect width="6...
app/components/Similar.js
kongchun/BigData-Web
import React from 'react'; import { Link } from 'react-router'; import ArticleObjStore from '../stores/ArticleObjStore'; import ArticleObjActions from '../actions/ArticleObjActions'; class Similar extends React.Component { constructor(props) { super(props); this.state = ArticleObjStore.getState(); this.onChan...
src/utils/index.js
konce/react-redux-starter-kit
import React from 'react'; import { DevTools, DebugPanel, LogMonitor } from 'redux-devtools/lib/react'; export function createConstants (...constants) { return constants.reduce((acc, constant) => { acc[constant] = constant; return acc; }, {}); } export function createReducer (initialState, reducerMap) { ...
ajax/libs/material-ui/5.0.0-alpha.18/modern/FormControl/FormControlContext.min.js
cdnjs/cdnjs
import*as React from"react";const FormControlContext=React.createContext();"production"!==process.env.NODE_ENV&&(FormControlContext.displayName="FormControlContext");export function useFormControl(){return React.useContext(FormControlContext)};export default FormControlContext;