path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
src/containers/Feedback/PopoverPage.js
Aus0049/react-component
/** * Created by Aus on 2017/9/6. */ import React from 'react' import ListTitle from '../../components/DataDisplay/ListTitle/' import Button from '../../components/DataEntry/Button/components/Button' import Popover from '../../components/Feedback/Popover/' import Tools from '../../components/Tools/Tools' const Popov...
node_modules/react-bootstrap/es/Glyphicon.js
okristian1/react-info
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 ...
src/native/app/components/Checkbox.js
robinpokorny/este
// @flow import React from 'react'; import { Button } from './'; import { Image } from 'react-native'; type Props = { checked?: boolean, onPress: () => void, style?: any, }; const Checkbox = ({ checked, onPress, style }: Props) => { const image = checked ? require('./img/CheckboxChecked.png') : requir...
packages/material-ui-icons/src/DeckOutlined.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M22 9L12 2 2 9h9v13h2V9h9zM12 4.44L15.66 7H8.34L12 4.44z" /><path d="M4.14 12l-1.96.37.82 4.37V22h2l.02-4H7v4h2v-6H4.9zM19.1 16H15v6h2v-4h1.98l.02 4h2v-5.26l.82-4.37-1.96-.37z" /></Rea...
src/client/me/page.react.js
sljuka/portfolio-este
import Component from '../components/component.react'; import DocumentTitle from 'react-document-title'; import Logout from '../auth/logout.react'; import React from 'react'; import requireAuth from '../auth/requireauth.react'; import {format} from '../intl/store'; @requireAuth export default class Page extends Compon...
ajax/libs/primereact/7.0.0-rc.1/speeddial/speeddial.esm.js
cdnjs/cdnjs
import React, { Component } from 'react'; import { Button } from 'primereact/button'; import { DomHandler, classNames, ObjectUtils, Ripple } from 'primereact/core'; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function")...
src/svg-icons/toggle/check-box-outline-blank.js
xmityaz/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ToggleCheckBoxOutlineBlank = (props) => ( <SvgIcon {...props}> <path d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"/> </SvgIcon> ); ToggleCheckBoxOutlineBlank =...
node_modules/react-parallax/src/kitchensink/KitchenSink.js
aggiedefenders/aggiedefenders.github.io
import React, { Component } from 'react'; import PropTypes from 'prop-types'; export class KitchenSink extends Component { static propTypes = { children: PropTypes.node }; render() { return <div>{this.props.children}</div>; } }
src/shared/sharedEntry.js
AusDTO/dto-digitalmarketplace-frontend
import React from 'react' import ReactDOM from 'react-dom' import { Body, ReviewHeader } from './SellerProfile'; const header = { contact_: "Paul Ashson", name: "Zeta interactive", contact_phone: "02 8394 0000", contact_email: "example@domain.com", summary: "Zeta Interactive’s many services include digital ...
app/components/about/about.js
firegoby/react-ecosystem-aurora
import React from 'react' if (process.env.BROWSER) require('./about.styl') export default class About extends React.Component { render() { return ( <article className="ns-aboutAurora"> <p>React, and its various ecosystems, are varied and diverse, so suggesting that there is any...
server/index.js
sirajulm/isomorphic-react-sample
import path from 'path'; import express from 'express'; import handlebars from 'express-handlebars'; import React from 'react'; import ReactDOMServer from 'react-dom/server'; import App from './generated/app'; const app = express(); // View templates /*app.engine('handlebars', handlebars({defaultLayout: 'main'}));...
definitions/npm/react-loadable_v5.x.x/flow_v0.104.x-/test_react-loadable_v5.x.x.js
splodingsocks/FlowTyped
// @flow import React from 'react'; import Loadable, { type MapModules } from 'react-loadable'; import { describe, it } from 'flow-typed-test'; type Props = { a: string, ... }; class Component extends React.Component<Props> {} describe('options', () => { it('should fail when props is not provided', () => { // ...
src/icons/RecentActorsIcon.js
kiloe/ui
import React from 'react'; import Icon from '../Icon'; export default class RecentActorsIcon extends Icon { getSVG(){return <svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><path d="M42 10v28h4V10h-4zm-8 28h4V10h-4v28zm-6-28H4c-1.1 0-2 .9-2 2v24c0 1.1.9 2 2 2h24c1.1 0 2-.9 2-2V12c0-...
src/view/dashboard/components/recentSales.js
fishmankkk/mircowater2.0
import React from 'react' import PropTypes from 'prop-types' import { Table, Tag } from 'antd' import { color } from 'utils' import styles from './recentSales.less' const status = { 1: { color: color.green, text: 'SALE', }, 2: { color: color.yellow, text: 'REJECT', }, 3: { color: color.re...
examples/forms-material-ui/src/components/Layout.js
lore/lore-forms
/** * This component is intended to reflect the high level structure of your application, * and render any components that are common across all views, such as the header or * top-level navigation. All other components should be rendered by route handlers. **/ import React from 'react'; import createReactClass fro...
src/components/Help/Publication/test.js
ProteinsWebTeam/interpro7-client
// @flow import React from 'react'; import ShallowRenderer from 'react-test-renderer/shallow'; import Publication from '.'; const renderer = new ShallowRenderer(); describe('<Publication />', () => { test('should render', () => { renderer.render(<Publication />); expect(renderer.getRenderOutput()).toMatchS...
public/client/routes/inviteUser/containers/inviteUser.js
nearform/concorda-dashboard
'use strict' import React from 'react' import {connect} from 'react-redux' import {reduxForm} from 'redux-form' import {sendInviteUser} from '../../../modules/user/actions/index' import {validateInviteUser} from '../../../lib/validations' export let InviteUser = React.createClass({ propTypes: { handleSubmit:...
packages/material-ui-icons/src/LockRounded.js
Kagami/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><g fill="none"><path d="M0 0h24v24H0V0z" /><path d="M0 0h24v24H0V0z" opacity=".87" /></g><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-2V...
src/components/App/index.js
react-vienna/website
import React from 'react'; import {Wrapper, Group, BlueText, RedText} from './styles'; import Logo from '../Logo'; const App = () => ( <Wrapper> <Group> <BlueText>React</BlueText> <Logo width={320} height={320} /> <RedText>Vienna</RedText> </Group> </Wrapper> ); export default App;
modules/Link.js
zhijiansha123/react-router
import React from 'react'; var { object, string, func } = React.PropTypes; function isLeftClickEvent(event) { return event.button === 0; } function isModifiedEvent(event) { return !!(event.metaKey || event.altKey || event.ctrlKey || event.shiftKey); } /** * <Link> components are used to create an <a> element t...
example/webpack.config.js
mlaursen/react-dd-menu
'use strict'; /*eslint-env node*/ const webpack = require('webpack'); const path = require('path'); const autoprefixer = require('autoprefixer'); const OpenBrowserPlugin = require('open-browser-webpack-plugin'); const ExtractTextPlugin = require('extract-text-webpack-plugin'); const HtmlWebpackPlugin = require('html-we...
app/components/Chunk.js
zoo1/fil
import _ from 'underscore-contrib'; import React from 'react'; import classNames from 'classnames'; import {parseOrFallback} from 'helpers'; class List extends React.Component { render() { let block = "console__chunk--list", output = this.props.chunk; let classes = classNames(block, { "consol...
ajax/libs/muicss/0.9.13/extra/mui-react-combined.min.js
froala/cdnjs
!function(e){var t=e.babelHelpers={};t.classCallCheck=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},t.createClass=function(){function e(e,t){for(var i=0;i<t.length;i++){var o=t[i];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.definePro...
src/components/Footer/index.js
chavisclark/chavisclark.github.io
import React from 'react'; import styles from './styles.css'; function Footer() { return ( <footer className={styles.footer}> <section className={styles.footerContent}> <p>Built with React</p> </section> <section className={styles.footerContent}> <p>Made with 💚 </p> </se...
actor-apps/app-web/src/app/components/dialog/messages/Document.react.js
dsaved/africhat-platform-0.1
import React from 'react'; import classnames from 'classnames'; class Document extends React.Component { static propTypes = { content: React.PropTypes.object.isRequired, className: React.PropTypes.string }; constructor(props) { super(props); } render() { const { content, className } = this....
src/components/header/index.js
AliaksandrMamonenka/weather-react
import React from 'react'; import './style.less'; class Header extends React.Component { render() { console.warn('SECOND: render method'); return ( <h1 className="header_title"> {this.props.title} </h1> ); }; componentWillMount(){ console.warn('FIRST: component...
src/App/LayoutDesktop.js
UTNianos/frontend
import React from 'react'; import { Layout, Affix } from 'antd'; import Navbar from '../Navbar/Container'; import './App.css'; const { Content, Header } = Layout; const headerStyle = { width: '100%', height: '100%', background: '#fff', borderBottom: '1px solid gainsboro', padding: '0px' }; const contentSty...
src/components/clients/clients.js
ahaditio/journal-frontend
import React, { Component } from 'react'; export default class Clients extends Component{ render(){ return ( <div> Clients </div> ); }; }
RN HotUpdate/SmartHomeII/indexPage.js
HarrisLee/React-Native-Express
/** * Sample React Native App * https://github.com/facebook/react-native * @flow */ import React, { Component } from 'react'; import { AppRegistry, StyleSheet, Text, View, ListView, Image, Platform, Navigator, TouchableHighlight } from 'react-native'; import Constanst from './SmartHome/Global/Co...
test/speed-slider.spec.js
jaywritescode/GameOfLife-javascript
/* eslint-env node, mocha */ import React from 'react'; import { expect } from 'chai'; import { shallow } from 'enzyme'; import SpeedSlider from '../app/speed-slider.jsx'; describe('<SpeedSlider>', function() { describe('#render', function() { it('renders', function() { const wrapper = shallow(<SpeedSlid...
TodoWonder/js/LoginScreen.js
lintonye/react-native-diary
/** * @flow */ import React from 'react' import { View, Text, TextInput, StyleSheet, } from 'react-native' import Button from './Button' const LoginScreen = ({initialEmail, gotoTaskList}) => ( <View style={styles.container}> <Text>Enter your email address below:</Text> <TextInput style={styles.tex...
stories/containers/channels/node-card-list.stories.js
LN-Zap/zap-desktop
import React from 'react' import { storiesOf } from '@storybook/react' import { action } from '@storybook/addon-actions' import { NodeCardList } from 'components/Channels' import { Provider } from '../../Provider' const nodeClicked = action('onClick') storiesOf('Containers.Channels', module) .addDecorator(story => ...
plugins/react/server/__test__/components/otherComponents/ComponentE.js
pure-ui/styleguide
import React from 'react'; export default () => <div></div>;
src/middlewares/message-bar.js
nikolay-radkov/EBudgie
import React from 'react'; import i18n from 'react-native-i18n'; import { MessageBarManager } from 'react-native-message-bar'; import { StatusBar } from 'react-native'; import { Icon } from 'react-native-elements'; import { createNotification } from '../services/localNotifications'; import { setNotificationIsSeen } fr...
ajax/libs/angular.js/1.2.0/angular-scenario.js
francescoagati/cdnjs
/*! * jQuery JavaScript Library v1.10.2 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors * Released under the MIT license * http://jquery.org/license * * Date: 2013-07-03T13:48Z */ (function( window, undefined ) {'use ...
example/src/Carusel.js
istarkov/pbl
import React from 'react'; import compose from 'recompose/compose'; import withProps from 'recompose/withProps'; import { themr } from 'react-css-themr'; import Slider from 'react-slick'; import caruselStyles from './carusel.sass'; import img0 from '../assets/images/0.jpg'; import img1 from '../assets/images/1.jpg'; im...
ui/src/components/workflow/executions/WorkflowDetails.js
soup11/conductor
import React, { Component } from 'react'; import { Link } from 'react-router'; import { Breadcrumb, BreadcrumbItem, Grid, Row, Col, Well, OverlayTrigger,Button,Popover, Panel, Tabs, Tab, Table } from 'react-bootstrap'; import {BootstrapTable, TableHeaderColumn} from 'react-bootstrap-table'; import { connect } from 'rea...
PuppyPlayDate/UserSignup.js
Tooconfident/Puppy_PlayDate
import React, { Component } from 'react'; import { AppRegistry, StyleSheet, Text, TextInput, View, ListView, NavigatorIOS, Image, TouchableHighlight, AsyncStorage, AlertIOS, } from 'react-native'; import MainScene from './MainScene'; // Universal Styles const styles = require('./style.js') cons...
src/components/commons/GenericRVRStadtplanwerkMenuFooter.js
cismet/wupp-geoportal3-powerboats
import React from 'react'; import { Icon } from 'react-fa'; import CismetFooterAcks from '../commons/CismetFooterAcknowledgements'; const GenericRVRStadtplanwerkMenuFooter = () => { return ( <div> <span style={{ fontSize: '11px' }}> {/* Hintergrundkarte: Stadtplanwerk 2.0 (Beta) © Regionalverband Ruhr und Ko...
src/svg-icons/editor/attach-file.js
kasra-co/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let EditorAttachFile = (props) => ( <SvgIcon {...props}> <path d="M16.5 6v11.5c0 2.21-1.79 4-4 4s-4-1.79-4-4V5c0-1.38 1.12-2.5 2.5-2.5s2.5 1.12 2.5 2.5v10.5c0 .55-.45 1-1 1s-1-.45-1-1V6H10v9.5c0 1.38 1.12 2.5 2.5 2...
react/features/video-menu/components/AbstractMuteEveryonesVideoDialog.js
jitsi/jitsi-meet
// @flow import React from 'react'; import { requestDisableVideoModeration, requestEnableVideoModeration } from '../../av-moderation/actions'; import { isEnabledFromState, isSupported } from '../../av-moderation/functions'; import { Dialog } from '../../base/dialog'; import { MEDIA_TYPE } from '../../base/media'; imp...
demo/src/Typography.js
kiloe/ui
import React from 'react'; import Doc from './Doc'; import View from '../../package/View'; export default class Typography extends React.Component { render(){ let data = [ { title: 'Text', src: Doc.jsx` <Text>Lorem</Text> `, info: `The Text element is for text. To...
src/components/NotesList.js
lukin-deema/FileSystem
import React from 'react'; import PropTypes from 'prop-types'; import {List, ListItem} from 'material-ui/List'; import ContentDelete from 'material-ui/svg-icons/content/delete-sweep'; import {removeNote} from '../actions' const NoteList = ({notes, dispatch}) => ( <List> {renderNotes(notes, dispatch)} ...
ajax/libs/6to5/1.13.6/browser-polyfill.js
idleberg/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/react-native-web/0.13.14/exports/ActivityIndicator/index.min.js
cdnjs/cdnjs
function _extends(){return(_extends=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(e[a]=i[a])}return e}).apply(this,arguments)}function _objectWithoutPropertiesLoose(e,t){if(null==e)return{};var i,a,r={},n=Object.keys(e);for(a...
src/js/components/deployments/scheduleddeployments.js
michaelatmender/gui
import React, { useEffect, useRef, useState } from 'react'; import { Calendar, momentLocalizer } from 'react-big-calendar'; import { connect } from 'react-redux'; import moment from 'moment'; import 'react-big-calendar/lib/css/react-big-calendar.css'; import { Button } from '@mui/material'; import { CalendarToday as C...
src/views/ForgotPassView.js
HackDFW/hackdfw-game-frontend
import React from 'react'; import {Link} from 'react-router'; import { bindActionCreators } from 'redux'; import { connect } from 'react-redux'; import reactMixin from 'react-mixin'; import * as actionCreators from '../actions'; import styles from '../styles/ForgotPassView.scss' export class ForgotPassView extends Re...
app/components/landing/SplashImage.js
alexko13/block-and-frame
import React, { Component } from 'react'; class SplashImage extends Component { constructor(props) { super(props); this.state = { }; } render() { return ( <div className="splash"> <div className="splashBlurb"> <h1 className="ui introduction header">Introducing Spread Out</...
src/contrainers/App.js
LazzyLizzard/friendlist02
/** * общий контейнер приложения */ import React, { Component } from 'react'; import { combineReducers } from 'redux'; import { Provider } from 'react-redux'; //import { createStore, renderDevTools } from '../utils/devTools'; import UserListApp from './UserListApp'; //import * as reducers from '../reducers'; //co...
docs/src/pages/demos/text-fields/OutlinedInputAdornments.hooks.js
Kagami/material-ui
import React from 'react'; import classNames from 'classnames'; import { makeStyles } from '@material-ui/styles'; import IconButton from '@material-ui/core/IconButton'; import InputAdornment from '@material-ui/core/InputAdornment'; import TextField from '@material-ui/core/TextField'; import MenuItem from '@material-ui/...
Libraries/JavaScriptAppEngine/Initialization/ExceptionsManager.js
21451061/react-native
/** * Copyright (c) 2015-present, 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. * * @provides...
packages/create-omi/template/mp/config/env.js
AlloyTeam/Nuclear
'use strict'; const fs = require('fs'); const path = require('path'); const paths = require('./paths'); // Make sure that including paths.js after env.js will read .env variables. delete require.cache[require.resolve('./paths')]; const NODE_ENV = process.env.NODE_ENV; if (!NODE_ENV) { throw new Error( 'The NOD...
test/DropdownMenuSpec.js
AlexKVal/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import DropdownMenu from '../src/DropdownMenu'; import MenuItem from '../src/MenuItem'; import keycode from 'keycode'; describe('DropdownMenu', function() { const simpleMenu = ( <DropdownMenu> <MenuItem eventKey='1'>Item 1</M...
src/app/components/team/TeamData/TeamDataComponent.js
meedan/check-web
import React from 'react'; import PropTypes from 'prop-types'; import { FormattedMessage } from 'react-intl'; import Box from '@material-ui/core/Box'; import Button from '@material-ui/core/Button'; import Typography from '@material-ui/core/Typography'; import Card from '@material-ui/core/Card'; import CardContent from ...
node_modules/react-icons/md/person-add.js
bairrada97/festival
import React from 'react' import Icon from 'react-icon-base' const MdPersonAdd = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m25 23.4c4.5 0 13.4 2.1 13.4 6.6v3.4h-26.8v-3.4c0-4.5 8.9-6.6 13.4-6.6z m-15-6.8h5v3.4h-5v5h-3.4v-5h-5v-3.4h5v-5h3.4v5z m15 3.4c-3.7 0-6.6-3-6.6-6.6s2.9-6.8 6.6-6.8...
tools/lib/fs.js
arolla/Arollydays
/** * 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 fs from 'fs'; import mkdirp from 'mkdirp'; const w...
src/Notification/__tests__/index-test.js
stipsan/uikit-react
import React from 'react' import renderer from 'react-test-renderer' import Notification from '../index' jest.mock('react-portal', () => 'Portal') describe('Notification', () => { const defaultProps = { notifications: [{ id: 1, type: 'warning', message: 'Notification #1', icon: 'check' }], position: 'top-c...
node_modules/react-icons/fa/bell-o.js
bairrada97/festival
import React from 'react' import Icon from 'react-icon-base' const FaBellO = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m20.4 37.9q0-0.4-0.4-0.4-1.3 0-2.3-1t-0.9-2.2q0-0.4-0.4-0.4t-0.3 0.4q0 1.6 1.1 2.8t2.8 1.1q0.4 0 0.4-0.3z m-14.9-6.5h29q-5.9-6.7-5.9-18.5 0-1.2-0.6-2.4t-1.5-2.3-2.7-1.8...
docs/app/Examples/collections/Message/Variations/MessageExampleFloatingProps.js
shengnian/shengnian-ui-react
import React from 'react' import { Message } from 'shengnian-ui-react' const MessageExampleFloatingProps = () => ( <Message floating content='Way to go!' /> ) export default MessageExampleFloatingProps
packages/wix-style-react/src/MessageBox/docs/AnnouncementExamples/PrimaryButtonNode.js
wix/wix-style-react
/* eslint-disable react/prop-types */ import React from 'react'; import ChevronDown from 'wix-ui-icons-common/ChevronDown'; import { MessageBoxMarketerialLayout, DropdownBase, Button, } from 'wix-style-react'; export default () => ( <MessageBoxMarketerialLayout title="Looking good! Your site is on Google"...
packages/material-ui-icons/src/PauseSharp.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="M6 19h4V5H6v14zm8-14v14h4V5h-4z" /></React.Fragment> , 'PauseSharp');
src/components/stateless/Button.js
thomas-p-wilson/react-form
import React from 'react'; // eslint-disable-line no-unused-var import BasicClickable from '../BasicClickable'; /** * Produces an HTML button with the type set to `button` and which performs just * like its pure HTML counterpart in all respects. */ export default class Button extends BasicClickable { static dis...
docs/src/pages/customization/components/GlobalThemeOverride.js
lgollut/material-ui
import React from 'react'; import { ThemeProvider, createMuiTheme } from '@material-ui/core/styles'; import Button from '@material-ui/core/Button'; const theme = createMuiTheme({ overrides: { MuiButton: { root: { fontSize: '1rem', }, }, }, }); export default function GlobalThemeOverrid...
storybook/stories/loading_indicator.story.js
mecab/mastodon
import React from 'react'; import { IntlProvider } from 'react-intl'; import { storiesOf } from '@kadira/storybook'; import en from 'mastodon/locales/en.json'; import LoadingIndicator from 'mastodon/components/loading_indicator'; storiesOf('LoadingIndicator', module) .add('default state', () => ( <IntlProvider l...
ext/packages/core/src/app/route/Router.js
sys0pp/c5
/** * The Router is an ordered set of {@link Ext.app.route.Route} definitions that decode a * url into a controller function to execute. Each `route` defines a type of url to match, * along with the controller function to call if it is matched. The Router uses the * {@link Ext.util.History} singleton to find ou...
blueocean-material-icons/src/js/components/svg-icons/action/announcement.js
kzantow/blueocean-plugin
import React from 'react'; import SvgIcon from '../../SvgIcon'; const ActionAnnouncement = (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-2zm-7 9h-2V5h2v6zm0 4h-2v-2h2v2z"/> </SvgIcon> ); ActionAnnouncement.displayName = 'ActionAnnouncement'; A...
packages/stockflux-components/src/components/popups/ConfirmationWindow.js
ScottLogic/bitflux-openfin
import React from 'react'; import PopupWindow from './PopupWindow'; const ConfirmationWindow = ({ message, onConfirm, onReject, children }) => { const modalOptions = [ { name: 'Cancel', icon: 'No', className: 'modal-cancel', action: onReject }, { name: 'Confirm', actio...
src/Pane.js
tkqubo/react-split-pane
'use strict'; import React from 'react'; import VendorPrefix from 'react-vendor-prefix'; let Pane = React.createClass({ getInitialState() { return {}; }, render() { const split = this.props.split; const classes = ['Pane', split]; let style = { flex: 1, ...
src/ConfigurationValue.js
manywho/whomiboo
import React, { Component } from 'react'; import { Button, Panel } from 'react-bootstrap'; import Modal from 'react-modal'; class ConfigurationValue extends Component { constructor(props) { super(props); this.state = { configName: "", configType: "ContentString" }; ...
ajax/libs/rxjs/2.2.17/rx.js
taydakov/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, 'u...
client/forms/toggleBaseLib.js
Cellarise/cell-cycle
"use strict"; import React from 'react'; import PropTypes from 'prop-types'; import R from 'ramda'; import classnames from "classnames"; import * as inputBaseLib from './inputBaseLib.js'; export { inputSizeClass, dataProps, ariaDescribedBy, ariaProps, propsStartsWith, getFieldId, getValueClass } from './inputBase...
src/Parser/Druid/Guardian/Modules/Features/GuardianOfElune.js
enragednuke/WoWAnalyzer
import React from 'react'; import { formatPercentage } from 'common/format'; import SpellIcon from 'common/SpellIcon'; import SpellLink from 'common/SpellLink'; import StatisticBox, { STATISTIC_ORDER } from 'Main/StatisticBox'; import Analyzer from 'Parser/Core/Analyzer'; import SPELLS from 'common/SPELLS'; import Comb...
app/bower_components/modernizr/test/js/lib/jquery-1.7b2.js
FRC4814/website
/*! * jQuery JavaScript Library v1.7b2 * 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. ...
js/components/splashscreen/index.js
rebiz/diveprint
import React, { Component } from 'react'; import { View } from 'native-base'; export default class SplashPage extends Component { static propTypes = { navigator: React.PropTypes.shape({}), } componentWillMount() { const navigator = this.props.navigator; setTimeout(() => { navigator.replace({...
src/components/PhotoComponent.js
sani-banani/photo-location
'use strict'; import React from 'react'; require('styles//Photo.less'); class PhotoComponent extends React.Component { drag(e) { console.log("dragStart"); this.style.opacity = '0.4'; } render() { return ( <div className="photo-component"> <img src={this.props.imageURL} draggable="true...
src/app/pages/Demo.js
skratchdot/audio-automator
import React, { Component } from 'react'; import { Button, ButtonGroup, Jumbotron, Row, Col, Table } from 'react-bootstrap'; import { connect } from 'react-redux'; import raf from 'raf'; import { resumeAudioContext, suspendAudioContext } from '../actions/audioContext'; import { setNow } from '../actions/now'; import { ...
packages/material-ui-icons/src/CloseTwoTone.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="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z" /></React.Fragment> , 'CloseTwoTo...
Console/app/node_modules/antd/es/button/button-group.js
RisenEsports/RisenEsports.github.io
import _extends from 'babel-runtime/helpers/extends'; import _defineProperty from 'babel-runtime/helpers/defineProperty'; var __rest = this && this.__rest || function (s, e) { var t = {}; for (var p in s) { if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p]; }if (s != nu...
js/components/FriendsList.js
ChrisMLee/relay-mongoose-plair
import Relay from 'react-relay'; import Friend from './Friend.js'; import React from 'react'; class FriendList extends React.Component { render() { let user = this.props.user; let friends = user.friends.map((friend) => { return <Friend key={friend.__dataID__} friend={friend} />; }); return (<d...
renderer.js
FluidCoding/YTMe
// All of the Node.js APIs are available in this process. import React from 'react'; import ReactDOM from 'react-dom'; import yT from 'ytdl-core'; import fsys from 'fs'; import app from 'electron'; import { Text, Label, Button, TextInput, Window, TitleBar, View } from 'react-desktop/windows'; import SelectType from './...
ajax/libs/react/0.13.2/react.js
sashberd/cdnjs
/** * React v0.13.2 */ (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}els...
client/src/components/Notices/Bulletin.js
verejnedigital/verejne.digital
// @flow import React from 'react' import './Legend.css' import './LegendSymbols.css' import NoticeItem from './NoticeItem' import {Table} from 'reactstrap' import ExternalLink from '../shared/ExternalLink' import type {Notice} from '../../state' import './Bulletin.css' type Props = {| items: Array<Notice>, numb...
packages/material-ui-icons/src/MotorcycleSharp.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M19.44 9.03L15.41 5H11v2h3.59l2 2H5c-2.8 0-5 2.2-5 5s2.2 5 5 5c2.46 0 4.45-1.69 4.9-4h1.65l2.77-2.77c-.21.54-.32 1.14-.32 1.77 0 2.8 2.2 5 5 5s5-2.2 5-5c0-2.65-1.97-4.77-4.56-4.97zM7.82 15C7.4 16.15 6...
src/stories/Welcome.js
material-ui-addons/material-ui-addons
import React from 'react'; 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', textDecoration: 'none', borderBottom: '1px ...
ajax/libs/yui/3.10.3/datatable-core/datatable-core-debug.js
Assalaam/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...
techCurriculum/ui/solutions/3.2/src/components/Title.js
AnxChow/EngineeringEssentials-group
/** * Copyright 2017 Goldman Sachs. * 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...
ajax/libs/material-ui/4.9.2/es/internal/svg-icons/RadioButtonChecked.js
cdnjs/cdnjs
import React from 'react'; import createSvgIcon from './createSvgIcon'; /** * @ignore - internal component. */ export default createSvgIcon(React.createElement("path", { d: "M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C...
tools/dashboard/probot/client/src/index.js
jonathanihm/freeCodeCamp
import React from 'react'; import ReactDOM from 'react-dom'; import './index.css'; import * as serviceWorker from './serviceWorker'; import theme from './theme'; import App from './App'; import { ThemeProvider } from 'styled-components'; ReactDOM.render( <ThemeProvider theme={theme}> <App /> </ThemeProvider>...
test/binTest/mvvcSolution2/src/ReactReduxProject/examplePage/controller/index.js
Terry-Su/MVVC
import { Controller as SuperController } from '../../__share/controller/index' import React from 'react' import { render } from 'react-dom' // redux import { createStore, applyMiddleware } from 'redux' // react-redux import { Provider } from 'react-redux' import reducer from '../reducer/index' import middlewa...
ajax/libs/thorax/2.2.0/thorax-combined.min.js
ddeveloperr/cdnjs
(function(e,t){"use strict";function _(e){var t=e.length,n=y.type(e);return y.isWindow(e)?!1:e.nodeType===1&&t?!0:n==="array"||n!=="function"&&(t===0||typeof t=="number"&&t>0&&t-1 in e)}function P(e){var t=D[e]={};return y.each(e.match(w)||[],function(e,n){t[n]=!0}),t}function j(e,n,r,i){if(!y.acceptData(e))return;var ...
ajax/libs/forerunnerdb/1.3.551/fdb-core.js
dannyxx001/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/main/resources/static/scripts/components/Home.js
davidbogue/Urbane
/* Home */ import React from 'react'; import Header from './Header'; import Footer from './Footer'; import Navigation from './Navigation'; import ArticleList from './ArticleList'; import client from '../client'; class Home extends React.Component { constructor(props) { super(props); this.state = {articles: ...
app/sources/js/components/pages_bar.react.js
ixui/sirusu
// Library import connectToStores from 'alt/utils/connectToStores' import React from 'react' import _ from 'lodash' import {Layout, Flex, Fixed} from 'react-layout-pane' // Alt - Flux // Actions import PagesActions from '../actions/pages' import ErrorsActions from '../actions/errors' // Stores import Pages...
src/svg-icons/hardware/speaker-group.js
pancho111203/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let HardwareSpeakerGroup = (props) => ( <SvgIcon {...props}> <path d="M18.2 1H9.8C8.81 1 8 1.81 8 2.8v14.4c0 .99.81 1.79 1.8 1.79l8.4.01c.99 0 1.8-.81 1.8-1.8V2.8c0-.99-.81-1.8-1.8-1.8zM14 3c1.1 0 2 .89 2 2s-.9 2-2...
node_modules/react-icons/fa/file.js
bengimbel/Solstice-React-Contacts-Project
import React from 'react' import Icon from 'react-icon-base' const FaFile = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m25.9 11.4v-10.5q0.4 0.3 0.8 0.6l9.1 9.1q0.3 0.3 0.6 0.8h-10.5z m-2.9 0.7q0 0.9 0.6 1.6t1.5 0.6h12.2v23.6q0 0.9-0.6 1.5t-1.6 0.6h-30q-0.8 0-1.5-0.6t-0.6-1.5v-35.8q0-0.8 ...
src/containers/achievements/index.js
timludikar/component-library
import React from 'react'; import Base from '../_base'; import Header from '../../components/header'; import Article from '../../components/article'; import { UnorderedList, ListItem } from '../../components/lists'; import styles from './stylesheet/achievements.styl'; const Achievements = ({ achievements = [ {...
src/components/contact.js
AnkilRNaik/AnkilRNaik.github.io
import React from 'react'; import { contact } from '../content/contact.json'; function Contact() { return ( <div> <p>{contact.email}</p> <p>{contact.phone}</p> <p><a href={contact.linkedin}>LinkedIn</a></p> <p><a href={contact.github}>GitHub</a></p> <p><a href={contact.twitter}>Twit...
node_modules/react-icons/io/reply-all.js
bairrada97/festival
import React from 'react' import Icon from 'react-icon-base' const IoReplyAll = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m23.6 15c11.9 0 12.4 16.3 12.4 16.3-4-7.3-7.1-8-12.4-8v7.2l-11.9-10.5 11.9-11.2v6.2z m-20.1 5l11.3-10.6v4.4l-6.5 6.2 6.5 5.3v4.5z"/></g> </Icon> ) export defaul...
WasteAppMini/js/components/list/list-icon.js
airien/workbits
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { actions } from 'react-native-navigation-redux-helpers'; import { Container, Header, Title, Content, Button, Icon, List, ListItem, Text, Badge } from 'native-base'; import styles from './styles'; const { replaceAt, } = actions...
src/components/03-organisms/SearchableUserTable/index.js
buildit/bookit-web
import React from 'react' import PropTypes from 'prop-types' import TeamSelector from './TeamSelector' import UserTableRow from './UserTableRow' import UserTableHeader from './UserTableHeader' import SearchBar from './SearchBar' import styles from './styles.scss' class SearchableUserTable extends React.Component { ...