path
stringlengths
5
304
repo_name
stringlengths
6
79
content
stringlengths
27
1.05M
src/svg-icons/image/filter-9.js
kittyjumbalaya/material-components-web
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageFilter9 = (props) => ( <SvgIcon {...props}> <path d="M3 5H1v16c0 1.1.9 2 2 2h16v-2H3V5zm18-4H7c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 16H7V3h14v14zM15 5h-2c-1.1 0-2 .89-2 2v...
src/settings/LanguagePicker.js
saketkumar95/zulip-mobile
import React from 'react'; import { FlatList, StyleSheet, View } from 'react-native'; import languages from './languages'; import LanguagePickerItem from './LanguagePickerItem'; const styles = StyleSheet.create({ separator: { height: 1, backgroundColor: 'rgba(0, 0, 0, 0.1)', }, }); export default class L...
ajax/libs/onsen/2.0.0-beta.8/js/angular-onsenui.min.js
cdnjs/cdnjs
/*! angular-onsenui.js for onsenui - v2.0.0-beta.8 - 2016-03-25 */ !function(){var initializing=!1,fnTest=/xyz/.test(function(){xyz})?/\b_super\b/:/.*/;this.Class=function(){},Class.extend=function(prop){function Class(){!initializing&&this.init&&this.init.apply(this,arguments)}var _super=this.prototype;initializing=!0...
app/components/Map.js
tgirgin23/osm-electron-editor
// @flow import React, { Component } from 'react'; import ReactMapboxGl, { Layer, Feature } from 'react-mapbox-gl'; import styles from './Map.css'; const MAPBOX_ACCESS_TOKEN = process.env.MAPBOX_ACCESS_TOKEN; type Props = { zoomLevel?: number }; type State = { currentZoomLevel: number }; export default class Ma...
ajax/libs/material-ui/5.0.0-beta.4/modern/InputAdornment/InputAdornment.js
cdnjs/cdnjs
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; import _extends from "@babel/runtime/helpers/esm/extends"; const _excluded = ["children", "className", "component", "disablePointerEvents", "disableTypography", "position", "variant"]; import * as React from 'react'; im...
stories-src/FilteredSample.js
dunnock/react-sigma
import React from 'react' import { Sigma, LoadJSON, Filter, ForceAtlas2, RelativeSize, RandomizeNodePositions } from '../src/index'; import {Note} from './style.js'; class FilteredSample extends React.Component { constructor(props) { super(props) this.state = {selectedNode: null} } render() { return...
app/components/Login.js
Toreant/monster_web
/** * Created by apache on 15-10-24. */ import React from 'react'; import LoginActions from '../actions/LoginActions'; import LoginStore from '../stores/LoginStore'; class Login extends React.Component { constructor(props) { super(props); this.state = LoginStore.getState(); this.onChange...
test/PaginationSpec.js
glenjamin/react-bootstrap
import React from 'react'; import { mount } from 'enzyme'; import Pagination from '../src/Pagination'; describe('<Pagination>', () => { it('should have class', () => { mount(<Pagination>Item content</Pagination>).assertSingle('.pagination'); }); });
ajax/libs/vue-material/1.0.0-beta-1/components/MdApp/index.js
holtkamp/cdnjs
module.exports=(function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esMod...
packages/swap/example/Clickable/Clickable.js
nkbt/react-works
import React from 'react'; import {On} from '../On'; import {Off} from '../Off'; import {ReactSwap} from '../../src/Component'; export function Clickable() { return ( <div data-e2e="clickable"> <h2>Clickable</h2> <ReactSwap> <Off data-swap-handler={1} /> <On data-swap-handler={1} /> ...
src/docs/components/SortDoc.js
karatechops/grommet-docs
// (C) Copyright 2014-2016 Hewlett Packard Enterprise Development LP import React, { Component } from 'react'; import Sort from 'grommet-addons/components/Sort'; import Anchor from 'grommet/components/Anchor'; import DocsArticle from '../../components/DocsArticle'; import Code from '../../components/Code'; export def...
website/src/components/SEO.js
davidsonfellipe/awesome-wpo
/** * SEO component that queries for data with * Gatsby's useStaticQuery React hook * * See: https://www.gatsbyjs.org/docs/use-static-query/ */ import React from 'react' import PropTypes from 'prop-types' import Helmet from 'react-helmet' import { useStaticQuery, graphql } from 'gatsby' function SEO({ descripti...
src/index.js
dkadrios/zendrum-stompblock-client
import React from 'react' import ReactDOM from 'react-dom' import { Provider } from 'react-redux' import configureStore from './store' import App from './components/App' const store = configureStore({}) ReactDOM.render( <Provider store={store}> <App /> </Provider>, document.getElementById('react-container')...
frontend/src/Calendar/iCal/CalendarLinkModal.js
Radarr/Radarr
import PropTypes from 'prop-types'; import React from 'react'; import Modal from 'Components/Modal/Modal'; import CalendarLinkModalContentConnector from './CalendarLinkModalContentConnector'; function CalendarLinkModal(props) { const { isOpen, onModalClose } = props; return ( <Modal isOpen={is...
src/components/About.js
mareklibra/userportal
import React from 'react' import PropTypes from 'prop-types' import { connect } from 'react-redux' import { msg } from '_/intl' import { Modal } from 'patternfly-react' import Product from '../version' import { fixedStrings } from '../branding' const LegalInfo = () => { const idPrefix = `about-legal` if (fixedS...
ajax/libs/cyclejs-core/0.6.8/cycle.js
KOLANICH/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.Cycle=e()}}(function(){var define,module,exports;retu...
blueocean-dashboard/src/main/js/creation/bitbucket/cloud/BbCloudFlowManager.js
kzantow/blueocean-plugin
import React from 'react'; import { action, computed, observable } from 'mobx'; import { sseService } from '@jenkins-cd/blueocean-core-js'; import { logging, i18nTranslator } from '@jenkins-cd/blueocean-core-js'; import waitAtLeast from '../../flow2/waitAtLeast'; import FlowManager from '../../CreationFlowManager'; i...
app/scenes/HomeScene/index.js
bendman/open-adopt
import React, { Component } from 'react'; import { Image } from 'react-native'; import { Actions } from 'react-native-router-flux'; import Button from '../../components/Button'; import styles from './styles'; const searchDogs = () => Actions.search({ species: 'dog' }); const searchCats = () => Actions.search({ species...
ajax/libs/video.js/5.0.0-17/video.js
kiwi89/cdnjs
/** * @license * Video.js 5.0.0-17 <http://videojs.com/> * Copyright Brightcove, Inc. <https://www.brightcove.com/> * Available under Apache License Version 2.0 * <https://github.com/videojs/video.js/blob/master/LICENSE> * * Includes vtt.js <https://github.com/mozilla/vtt.js> * Available under Apache License Ve...
packages/create-next-app/templates/default/pages/index.js
BlancheXu/test
import React from 'react' import Head from 'next/head' import Nav from '../components/nav' const Home = () => ( <div> <Head> <title>Home</title> <link rel='icon' href='/favicon.ico' /> </Head> <Nav /> <div className='hero'> <h1 className='title'>Welcome to Next.js!</h1> <p c...
demo/src/components/HorizontalRule/HorizontalRule.js
joshwcomeau/react-collection-helpers
import React from 'react'; import './HorizontalRule.scss'; const HorizontalRule = () => <div className="HorizontalRule" />; export default HorizontalRule;
c169b6902947a77fec05096cb4da441bfcc3d6f1-1570a12b411cd7d8ed63.js
samrroyall/samrroyall.github.io
/*! For license information please see c169b6902947a77fec05096cb4da441bfcc3d6f1-1570a12b411cd7d8ed63.js.LICENSE.txt */ (window.webpackJsonp=window.webpackJsonp||[]).push([[3],{"6B1/":function(e,t,r){"use strict";(function(e){r.d(t,"a",(function(){return m}));var n=r("q1tI"),a=r.n(n),i=r("TSYQ"),o=r.n(i);r("U5C+");funct...
examples/async/src/components/Posts.js
gaearon/redux
import React from 'react' import PropTypes from 'prop-types' const Posts = ({posts}) => ( <ul> {posts.map((post, i) => <li key={i}>{post.title}</li> )} </ul> ) Posts.propTypes = { posts: PropTypes.array.isRequired } export default Posts
__tests__/AutoCompleteList.spec.js
mrc535s/react-autocomplete
import React from 'react'; import renderer from 'react-test-renderer'; import { shallow } from 'enzyme'; import AutoCompleteList from '../src/components/AutoComplete/AutoCompleteList.js'; describe('Auto Complete List', () => { let component; let wrapper; const items = [{ name: 'Praveen', key: '1234' }, { nam...
packages/material-ui-icons/src/FolderSharedTwoTone.js
kybarg/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path d="M11.17 8l-.59-.59L9.17 6H4v12h16V8h-8.83zM19 16v1h-8v-1c0-1.33 2.67-2 4-2s4 .67 4 2zm-4-7c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2z" opacity=".3" /><path d="M20 6h-8l-2-2H4c-1.1 0-1....
app/scripts/chat-window/ChatMessages-spec.js
butlermd/reactDemo
import React from 'react'; import { List } from 'immutable'; import { describe, it, before, after } from 'mocha'; import { expect } from 'chai'; import { stub, spy } from 'sinon'; import { shallow, mount } from 'enzyme'; import { every } from 'lodash'; import { ChatBox } from './ChatMessages'; import ChatMessages from ...
tests/routes/Portfolio/components/Chart.spec.js
ManuelOktana/challenge
import React from 'react' import { bindActionCreators } from 'redux' import { Chart } from 'routes/Portfolio/components/Chart' import { shallow } from 'enzyme' describe('(Component) Chart', () => { let _props, _spies, _wrapper beforeEach(() => { _spies = {} _props = { riskLevel : 1, ...bindAc...
ajax/libs/grommet-index/0.2.1/grommet-index.min.js
maruilian11/cdnjs
var GrommetIndex=function(modules){function __webpack_require__(moduleId){if(installedModules[moduleId])return installedModules[moduleId].exports;var module=installedModules[moduleId]={exports:{},id:moduleId,loaded:!1};return modules[moduleId].call(module.exports,module,module.exports,__webpack_require__),module.loaded...
src/Eventplanner/EventPlanner.stories.js
ctco/rosemary-ui
import React from 'react'; import EventPlanner from './index'; import { storiesOf } from '@storybook/react/dist/client/preview/index'; import Popup from '../Popup'; const nonWorkingDays = [ new Date(2015, 2, 31), new Date(2015, 4, 2), new Date(2015, 3, 4), new Date(2015, 3, 5), new Date(2015, 3, 19...
client/src/pages/Theater.js
jeffersonsteelflex69/mytv
import React, { Component } from 'react'; import TheaterContainer from '../containers/Theater'; class Theater extends Component { render(){ return ( <TheaterContainer { ...this.props } /> ); } } export default Theater;
src/utils/createChainedFunction.js
Pyiner/amazeui-react
/** * modified version of: * https://github.com/react-bootstrap/react-bootstrap/blob/master/src/utils/createChainedFunction.js */ 'use strict'; /** * Safe chained function * * Will only create a new function if needed, * otherwise will pass back existing functions or null. * * @param {function} one * @param...
src/components/settings/settings.js
beehive-spg/beehive-frontend
import React from 'react' import { connect } from 'react-redux' import { graphql, compose } from 'react-apollo' import { Button, Modal } from 'semantic-ui-react' import Switch from 'rc-switch' import Slider from 'rc-slider' import { setDistribution, setRouting, setDrones } from 'actions/settingsActions' import { setti...
src/svg-icons/action/lock-open.js
matthewoates/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ActionLockOpen = (props) => ( <SvgIcon {...props}> <path d="M12 17c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm6-9h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6h1.9c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2H6c-1.1 ...
src-client/scripts/components-shared.js
jtumms/PrestaTradingPost
const React = require('react') const ACTIONS = require('./actions.js') const AddItemModel = require('./add-item-model.js') const NavToHome = React.createClass({ render: function(){ return ( <div className="profile-home-icon-container"> <a onClick={ function(){ ACTIONS.routeTo('')} } href=""><i ...
test/ProgressBarSpec.js
victorzhang17/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import ProgressBar from '../src/ProgressBar'; import {shouldWarn} from './helpers'; const getProgressBarNode = wrapper => { return React.findDOMNode(ReactTestUtils.findRenderedDOMComponentWithClass(wrapper, 'progress-bar')); }; descri...
src/components/CustomView.js
jjimenezlopez/ReactNativePOC
import React, { Component } from 'react'; import { View, Text, TouchableWithoutFeedback, ActivityIndicator } from 'react-native'; import { connect } from 'react-redux'; import { Icon } from 'react-native-elements'; import RNFetchBlob from 'react-native-fetch-blob'; import Sound from 'react-native-sound'; import * as a...
src/components/common/svg-icons/editor/merge-type.js
abzfarah/Pearson.NAPLAN.GnomeH
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let EditorMergeType = (props) => ( <SvgIcon {...props}> <path d="M17 20.41L18.41 19 15 15.59 13.59 17 17 20.41zM7.5 8H11v5.59L5.59 19 7 20.41l6-6V8h3.5L12 3.5 7.5 8z"/> </SvgIcon> ); EditorMergeType = pure(Editor...
src/svg-icons/communication/call-end.js
matthewoates/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let CommunicationCallEnd = (props) => ( <SvgIcon {...props}> <path d="M12 9c-1.6 0-3.15.25-4.6.72v3.1c0 .39-.23.74-.56.9-.98.49-1.87 1.12-2.66 1.85-.18.18-.43.28-.7.28-.28 0-.53-.11-.71-.29L.29 13.08c-.18-.17-.29-....
Admin/Pager/Pager.js
wangmengling/MaoMobxBlog
/** * # Stateless Pager component * * ## Usage * ``` * <Page current={3} * total={20} * visiblePages={5} * onPageChanged={this.handlePageChanged} * titles={{ * first: "First", * prev: "Prev", * prevSet: "<<<", * nextSet: ">>>", *...
jsModulesAndBuildTools/examples/code/snapshot18/jspm_packages/es6-module-loader.src.js
pdevashish29/screencasts
!function(e){"object"==typeof exports?module.exports=e():"function"==typeof define&&define.amd?define(e):"undefined"!=typeof window?window.Promise=e():"undefined"!=typeof global?global.Promise=e():"undefined"!=typeof self&&(self.Promise=e())}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u...
src/index.js
ghoshnirmalya/node-edge-ui-using-react
import createHashHistory from 'history/lib/createHashHistory'; import React from 'react'; import ReactDOM from 'react-dom'; import Router from 'react-router'; import routes from './routes'; let history = createHashHistory({ queryKey: false }); ReactDOM.render(<Router history={history}>{routes}</Router>, document.bo...
src/components/layout/sider.js
simors/HLifeAdmin
import React from 'react' import { Icon, Switch } from 'antd' import styles from './main.less' import { config } from '../../utils' import Menus from './menu' function Sider ({ siderFold, darkTheme, location, changeTheme, navOpenKeys, changeOpenKeys }) { const menusProps = { siderFold, darkTheme, locatio...
react-router-demo/lessons/05-active-links/modules/Repos.js
zhangjunhd/react-examples
import React from 'react' export default React.createClass({ render() { return <div>Repos</div> } })
src/components/openClose.js
martinkwan/HNGRY
/** |========================================================================================== | The component that renders the Open or close text |------------------------------------------------------------------------------------------ */ import React, { Component } from 'react'; export default class OpenClose...
components/main.js
Yutenko/stories360
import React from 'react' import darkBaseTheme from 'material-ui/styles/baseThemes/darkBaseTheme' import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider' import getMuiTheme from 'material-ui/styles/getMuiTheme' import Header from './header' import Footer from './footer' import Messenger from './messenger' ...
src/wi/media/js/jquery/jquery.min.js
cc1-cloud/cc1
/*! jQuery v1.7.1 jquery.com | jquery.org/license */ (function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cv(a){if(!ck[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){cl||(cl=c.createElement("iframe"),cl.frameBorde...
src/Unosquare.PassCore.Web/ClientApp/.eslintrc.js
unosquare/passcore
module.exports = { parser: '@typescript-eslint/parser', // Specifies the ESLint parser extends: [ 'eslint-config-standard-react', // https://github.com/standard/eslint-config-standard-react 'standard-with-typescript', // https://github.com/standard/eslint-config-standard-with-typescript ...
lib/isomorphic/wrappers/md.js
gesposito/gatsby
import React, { PropTypes } from 'react' export default React.createClass({ propTypes: { page: PropTypes.shape({ data: PropTypes.shape({ body: PropTypes.string.isRequired, }), }), }, render () { const post = this.props.page.data return ( <div className="markdown"> ...
src/components/basketballScores/teamScores.js
mpeinado/react-starter
import React from 'react'; const TeamScores = (props) => { const { scores } = props; const teamName = scores.length > 0 ? scores[0].team_name : ""; const tableRows = scores.map(score => { const scoreColor = score.score.indexOf('L') === -1 ? 'bg-success' : 'bg-danger'; return ( ...
dispatch/static/manager/src/js/pages/Galleries/NewGalleryPage.js
ubyssey/dispatch
import React from 'react' import GalleryEditor from '../../components/GalleryEditor' export default function NewTagPage(props) { return ( <GalleryEditor isNew={true} goBack={props.router.goBack} route={props.route} /> ) }
ajax/libs/F2/1.3.1/f2.min.js
j0k3r/cdnjs
/*! F2 - v1.3.1 - 10-15-2013 - See below for copyright and license */ (function(exports){if(!exports.F2||exports.F2_TESTING_MODE){/*! JSON.org requires the following notice to accompany json2: Copyright (c) 2002 JSON.org http://json.org Permission is hereby granted, free of charge, to any person obta...
app/containers/ServerView.js
NightBrownie/RedisViewer
import React from 'react' import { connect } from 'react-redux' import { withRouter } from 'react-router' import ServerView from '../components/ServerView' import serverActions from '../actions/server' import serverKeyTreeToolBoxActions from '../actions/serverKeyTreeToolBox' import serverKeyTreeActions from '../actio...
ajax/libs/clappr/0.0.14/clappr.js
BenjaminVanRyseghem/cdnjs
require=(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o]...
files/react/15.0.0-rc.2/react.min.js
ezekutor/jsdelivr
/** * React v15.0.0-rc.2 * * Copyright 2013-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 direc...
src/browser/auth/Email.js
TheoMer/Gyms-Of-The-World
// @flow import type { State } from '../../common/types'; import React from 'react'; import buttonsMessages from '../../common/app/buttonsMessages'; import emailMessages from '../../common/auth/emailMessages'; import { FormattedMessage, injectIntl } from 'react-intl'; import { compose } from 'ramda'; import { connect }...
app/routes/home/components/flickrPhotos/flickrPhotos.component.js
wojciech-panek/study-group-6-redux
import React, { PureComponent, PropTypes } from 'react'; import { Card, CardHeader } from 'material-ui/Card'; import { GridList, GridTile } from 'material-ui/GridList'; import CircularProgress from 'material-ui/CircularProgress'; export class FlickrPhotos extends PureComponent { static propTypes = { photos: Pro...
test/CollapseSpec.js
roderickwang/react-bootstrap
import React from 'react'; import ReactTestUtils from 'react/lib/ReactTestUtils'; import Collapse from '../src/Collapse'; describe('Collapse', function () { let Component, instance; beforeEach(function(){ Component = React.createClass({ render(){ let { children, ...props } = this.props; ...
src/components/SyncComponent.js
C3-TKO/junkan
'use strict'; import React from 'react'; import FlatButton from 'material-ui/FlatButton'; import FloatingActionButton from 'material-ui/FloatingActionButton'; import NotificationSync from 'material-ui/svg-icons/notification/sync'; import NotificationSyncDisabled from 'material-ui/svg-icons/notification/sync-disabled';...
src/svg-icons/image/dehaze.js
skarnecki/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ImageDehaze = (props) => ( <SvgIcon {...props}> <path d="M2 15.5v2h20v-2H2zm0-5v2h20v-2H2zm0-5v2h20v-2H2z"/> </SvgIcon> ); ImageDehaze = pure(ImageDehaze); ImageDehaze.displayName = 'ImageDehaze'; export def...
app/javascript/mastodon/components/domain.js
im-in-space/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import IconButton from './icon_button'; import { defineMessages, injectIntl } from 'react-intl'; import ImmutablePureComponent from 'react-immutable-pure-component'; const messages = defineMessages({ unblockDomain: { id: 'account.unblock_domain', default...
storybook/stories/bar-stack/horizontal-grouped.js
JesperLekland/react-native-svg-charts
import React from 'react' import { StackedBarChart, Grid } from 'react-native-svg-charts' class StackedBarChartExample extends React.PureComponent { render() { const data = [ { data: [ { month: new Date(2015, 0, 1), ...
app/javascript/mastodon/features/compose/components/emoji_picker_dropdown.js
d6rkaiz/mastodon
import React from 'react'; import PropTypes from 'prop-types'; import { defineMessages, injectIntl } from 'react-intl'; import { EmojiPicker as EmojiPickerAsync } from '../../ui/util/async-components'; import Overlay from 'react-overlays/lib/Overlay'; import classNames from 'classnames'; import ImmutablePropTypes from ...
src/routes/Invoicer/Editor/index.js
joshhunt/money
import React, { Component } from 'react'; import { connect } from 'react-redux' import moment from 'moment'; import MuiTextField from 'material-ui/lib/text-field' import FlatButton from 'material-ui/lib/flat-button' import LightTheme from 'material-ui/lib/styles/raw-themes/light-raw-theme'; const ThemeManager = requi...
src/addons/Radio/Radio.js
aabustamante/Semantic-UI-React
import React from 'react' import { getUnhandledProps, META } from '../../lib' import Checkbox from '../../modules/Checkbox' /** * A Radio is sugar for <Checkbox radio />. * Useful for exclusive groups of sliders or toggles. * @see Checkbox * @see Form */ function Radio(props) { const { slider, toggle, type } =...
ajax/libs/yui/2.7.0/container/container_core.js
Sneezry/cdnjs
/* Copyright (c) 2010, Yahoo! Inc. All rights reserved. Code licensed under the BSD License: http://developer.yahoo.net/yui/license.txt version: 2.7.0r2 */ (function () { /** * Config is a utility used within an Object to allow the implementer to * maintain a list of local configuration properties and list...
server/sonar-web/src/main/js/apps/overview/meta/Meta.js
Builders-SonarSource/sonarqube-bis
/* * SonarQube * Copyright (C) 2009-2016 SonarSource SA * mailto:contact AT sonarsource DOT com * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 3 of the License...
ajax/libs/inferno-test-utils/3.10.0/inferno-test-utils.min.js
BenjaminVanRyseghem/cdnjs
!(function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("inferno"),require("inferno-component")):"function"==typeof define&&define.amd?define(["exports","inferno","inferno-component"],n):n((e.Inferno=e.Inferno||{},e.Inferno.TestUtils={}),e.Inferno,e.Inferno.Component)})(this,(function(e,n...
src/svg-icons/content/reply.js
pradel/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from '../../SvgIcon'; let ContentReply = (props) => ( <SvgIcon {...props}> <path d="M10 9V5l-7 7 7 7v-4.1c5 0 8.5 1.6 11 5.1-1-5-4-10-11-11z"/> </SvgIcon> ); ContentReply = pure(ContentReply); ContentReply.displayName = 'ContentReply'...
node_modules/react-icons/io/social-python.js
bairrada97/festival
import React from 'react' import Icon from 'react-icon-base' const IoSocialPython = props => ( <Icon viewBox="0 0 40 40" {...props}> <g><path d="m15.1 19.5c-2.3 0.3-3.8 2.3-3.8 4.4v3.6h-1.2c-2.3 0-4.2-2.3-4.9-5.4-0.1-0.7-0.2-1.3-0.2-2.1v-0.1c0-4.1 2.3-7.4 5.1-7.4h9.9v-1.2h-7.5v-2.3c0-2 0.5-3.1 3.6-3.7 1-0...
src/routes/Samples/components/SamplesCreate.js
popaulina/grackle
import React from 'react'; import { connect } from 'react-redux' import { Field, change } from 'redux-form' import { Button, Grid, Col, Row } from 'react-bootstrap' import ReactAudioPlayer from 'react-audio-player' import Dropzone from 'react-dropzone' import './Samples.scss' import { WithContext as ReactTags } from 'r...
lavalab/html/node_modules/react-bootstrap/es/Button.js
LavaLabUSC/usclavalab.org
import _Object$values from 'babel-runtime/core-js/object/values'; import _objectWithoutProperties from 'babel-runtime/helpers/objectWithoutProperties'; import _extends from 'babel-runtime/helpers/extends'; import _classCallCheck from 'babel-runtime/helpers/classCallCheck'; import _possibleConstructorReturn from 'babel-...
dispatch/static/manager/src/js/components/inputs/selects/PollSelectInput.js
ubyssey/dispatch
import React from 'react' import { connect } from 'react-redux' import ItemSelectInput from './ItemSelectInput' import pollsActions from '../../../actions/PollsActions' class PollSelectInputComponent extends React.Component { listPolls(query) { let queryObj = {} if (query) { queryObj['q'] = query ...
packages/material-ui-icons/src/AddLocation.js
AndriusBil/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from 'material-ui/SvgIcon'; let AddLocation = props => <SvgIcon {...props}> <path d="M12 2C8.14 2 5 5.14 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.86-3.14-7-7-7zm4 8h-3v3h-2v-3H8V8h3V5h2v3h3v2z" /> </SvgIcon>; AddLocation = pure(AddLocati...
ui/src/components/footer.js
jollopre/mps
import React from 'react'; const style = { position: 'absolute', right: 0, bottom: 0, left:0, minHeight: '50px', padding: '1rem', textAlign: 'center', backgroundColor: '#222', color: '#fff', fontSize: 'small', }; export const Footer = function(){ return ( <div style={style}> <ul className="list-inline"...
dist/es/Collection/Collection.js
cosminnicula/react-virtualized-clone
import React, { Component, PropTypes } from 'react'; import CollectionView from './CollectionView'; import _calculateSizeAndPositionData from './utils/calculateSizeAndPositionData'; import getUpdatedOffsetForIndex from '../utils/getUpdatedOffsetForIndex'; import shallowCompare from 'react-addons-shallow-compare'; /**...
packages/react-scripts/fixtures/kitchensink/src/features/env/PublicUrl.js
powerreviews/create-react-app
/** * 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. */ import Rea...
src/chat/ui/room/ChatAvatar.js
elarasu/roverz-chat
import React from 'react'; import { View, } from 'react-native'; // import { Actions } from 'react-native-router-flux'; import { CachedImage } from 'react-native-img-cache'; import UserAvatar from 'react-native-user-avatar'; import AppUtil from '../../../lib/util'; import t from '../../../i18n'; export default clas...
ajax/libs/video.js/5.0.0-rc.48/alt/video.novtt.js
boneskull/cdnjs
/** * @license * Video.js 5.0.0-rc.48 <http://videojs.com/> * Copyright Brightcove, Inc. <https://www.brightcove.com/> * Available under Apache License Version 2.0 * <https://github.com/videojs/video.js/blob/master/LICENSE> */ (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports...
packages/material-ui-icons/src/TextureRounded.js
allanalexandre/material-ui
import React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <React.Fragment><path fill="none" d="M0 0h24v24H0V0z" /><g><path d="M19.58 3.08L3.15 19.51c.09.34.27.65.51.9.25.24.56.42.9.51L21 4.49c-.19-.69-.73-1.23-1.42-1.41zM11.95 3l-8.88 8.88v2.83L14.78 3h-2.83zM5.07 3c...
packages/material-ui-icons/lib/esm/FiveKPlusSharp.js
mbrookes/material-ui
import createSvgIcon from './utils/createSvgIcon'; import { jsx as _jsx } from "react/jsx-runtime"; export default createSvgIcon( /*#__PURE__*/_jsx("path", { d: "M21 3H3v18h18V3zm-11 7.5H7.5v1H10V15H6v-1.5h2.5v-1H6V9h4v1.5zm6 4.5h-1.75l-1.75-2.25V15H11V9h1.5v2.25L14.25 9H16l-2.25 3L16 15zm3-2.5h-1.5V14h-1v-1.5H15v-1h...
docs/pages/components/badges.js
kybarg/material-ui
import React from 'react'; import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs'; const req = require.context('docs/src/pages/components/badges', false, /\.(md|js|tsx)$/); const reqSource = require.context( '!raw-loader!../../src/pages/components/badges', false, /\.(js|tsx)$/, ); const reqPrefix = ...
src/js/shader-player.js
olejrosendahl/shader-player
import React from 'react'; import ReactDOM from 'react-dom'; import THREE from 'three'; import ShaderPlayer from 'components/shader-player'; import $ from 'jquery'; var glslify = require('glslify'); var camera, renderer, scene, clock, delta, shader, material, mouse = new THREE.Vector2(); var audioCtx = new AudioCont...
packages/flow-runtime-docs/src/components/CodeOutput.js
codemix/flow-runtime
/* @flow */ import React from 'react'; import {UnControlled as CodeMirror} from 'react-codemirror2'; import 'codemirror/mode/javascript/javascript'; import 'codemirror/lib/codemirror.css'; type Props = { value: string, }; export default class CodeOutput extends React.Component<Props, void> { render() { cons...
src/containers/pages/decks/deck-selection/right-container/decklist/content/title.js
vFujin/HearthLounge
import React from 'react'; import PropTypes from 'prop-types'; import Icon from "../../../../../../../components/icon"; const Title = ({playerClass, title, author}) =>{ return ( <div className="decks__decklist--snippet-title"> <Icon name={playerClass} /> <div className="name-details"> ...
node_modules/bs-recipes/recipes/webpack.react-transform-hmr/app/js/main.js
peperbol/PDTplanner
import React from 'react'; // It's important to not define HelloWorld component right in this file // because in that case it will do full page reload on change import HelloWorld from './HelloWorld.jsx'; React.render(<HelloWorld />, document.getElementById('react-root'));
src/components/QRCode.js
pekkis/kino-kobros
import React from 'react'; import InnerQRCode from 'qrcode.react'; import config from '../../config.client'; const qrCode = config.qrCode; export default function QRCode({value}) { return ( <InnerQRCode value={value} size={qrCode.size} level={qrCode.level} /> ); }
src/components/buttons/demos/FabAccent.js
isogon/styled-mdl
import React from 'react' import { Button, Icon } from '../../../' export default () => ( <Button fab accent> <Icon name="add" /> </Button> )
src/components/course/CourseListRow.js
simonpkerr/react-redux
import React, { PropTypes } from 'react'; import { Link } from 'react-router'; const CourseListRow = ({ course }) => { return ( <tr> <td><a href={course.watchHref} target="_blank">Watch</a></td> <td><Link to={'course' + '/' + course.id}>{course.title}</Link></td> <td>{course.authorId}</td> ...
frontend/test/components/InfoAndHelp.spec.js
metamaps/metamaps
/* global describe, it */ import React from 'react' import { expect } from 'chai' import { shallow } from 'enzyme' import sinon from 'sinon' import InfoAndHelp from '../../src/components/InfoAndHelp.js' import MapInfoBox from '../../src/routes/MapView/MapInfoBox.js' function assertTooltip({ wrapper, description, cssC...
client/components/common/loading.js
maodouio/meteor-react-redux-base
import React from 'react'; export default () => ( <div className="splash"> <div className="splash-title"> <h1>Loading...</h1> {/*<p>some loading descriptions</p>*/} <div className="spinner"> <div className="rect1" /> <div className="rect2" /> <div className="rect3" /> ...
modules/__tests__/IndexRoute-test.js
limarc/react-router
/*eslint-env mocha */ /*eslint react/prop-types: 0*/ import expect from 'expect' import React from 'react' import createHistory from 'history/lib/createMemoryHistory' import IndexRoute from '../IndexRoute' import Router from '../Router' import Route from '../Route' describe('an <IndexRoute/>', function () { var nod...
packages/material-ui-icons/src/ViewModule.js
AndriusBil/material-ui
import React from 'react'; import pure from 'recompose/pure'; import SvgIcon from 'material-ui/SvgIcon'; let ViewModule = props => <SvgIcon {...props}> <path d="M4 11h5V5H4v6zm0 7h5v-6H4v6zm6 0h5v-6h-5v6zm6 0h5v-6h-5v6zm-6-7h5V5h-5v6zm6-6v6h5V5h-5z" /> </SvgIcon>; ViewModule = pure(ViewModule); ViewModule.mui...
src/client/js/components/LoginForm.js
neffka/ssi
import React from 'react'; export default class LoginForm extends React.Component { constructor(props) { super(props); } render() { return ( <div style={{visibility: this.props.visibility, position: 'fixed', fontFamily: ["Lucida Sans Unicode", "Lucida Grande", 'sans-serif'], fontSize: 12 + 'px', left: 40 + '...
src/components/download_app.js
joakimremler/horse-project
import React, { Component } from 'react'; export default class DownloadApp extends Component { render() { return ( <div className="landingPage-main-backgrund"> <div className="row justify-content-center"> <div className="col-sm-12 col-md-6"> <p className="landingPage-main-text"> E...
src/components/__tests__/ui/button-test.js
BrownEPTech/brown-ep-startup-ideas-app
/** * Test to check if the component renders correctly */ /* global it expect */ import { Alert } from 'react-native'; import React from 'react'; import renderer from 'react-test-renderer'; import Button from '@ui/Button'; // Default Button Press function const onPress = () => Alert.alert('Hey Tester'); it('Button...
app/components/Icons/icons/icon-it_elec_turism.js
code4romania/monitorizare-vot-votanti-client
import React from 'react'; function IconItElecTurism() { return ( <svg version="1.1" id="icon-it_elec_turism" x="0px" y="0px" viewBox="0 0 442 442"> <g> <path d="M328,0H88C66,0,48,18,48,40v288c0,12.4,6.8,22.8,16.4,30c0,0.4-0.4,1.2-0.4,2v28c0,15.6,12.4,28,28,28h8c15.6,0,28-12.4,28-28v-20h160v20c0,15...
ajax/libs/rxjs/2.3.6/rx.lite.extras.js
maruilian11/cdnjs
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. ;(function (factory) { var objectTypes = { 'boolean': false, 'function': true, 'object': true, 'number': false, 'string': false, ...
src/js/react/presentational/modals/AttrPropsModal.js
koluch/db-scheme
// @flow import React from 'react' import type {TAttr} from '~/types/TAttr' import Modal, {ModalRow} from './Modal' type TProps = { table: string, name?: string, edit: boolean, onCancel: () => void, onSave: (table: string, attr: TAttr) => void, } class AttrPropsModal extends React.Component { ...
js/components/poetes/alabassi/index.js
Rebaiahmed/Alchaaer
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { Actions } from 'react-native-router-flux'; import { Image } from 'react-native'; import { Container, Header, Title, Content, Button, Icon, Left, Right,Card, CardItem, Text, Body, List, ListItem,Thumbnail,InputGroup, Input ,Picker...
react/features/notifications/components/native/NotificationsContainer.js
bgrozev/jitsi-meet
// @flow import React from 'react'; import { View } from 'react-native'; import { connect } from '../../../base/redux'; import AbstractNotificationsContainer, { _abstractMapStateToProps, type Props as AbstractProps } from '../AbstractNotificationsContainer'; import Notification from './Notification'; import...