path stringlengths 5 304 | repo_name stringlengths 6 79 | content stringlengths 27 1.05M |
|---|---|---|
src/Parser/Warlock/Affliction/Modules/SoulShards/SoulShardDetails.js | enragednuke/WoWAnalyzer | import React from 'react';
import Analyzer from 'Parser/Core/Analyzer';
import Tab from 'Main/Tab';
import StatisticBox, { STATISTIC_ORDER } from 'Main/StatisticBox';
import SoulShardBreakdown from './SoulShardBreakdown';
import SoulShardTracker from './SoulShardTracker';
import WastedShardsIcon from '../../Images/w... |
node_modules/bs-recipes/recipes/webpack.react-hot-loader/app/js/main.js | tafazul/Angular | 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'));
|
components/Impact/WorkshopCard.js | uclaacm/website | import Image from 'next/image';
import React from 'react';
import styles from '../../styles/pages/impact.module.scss';
export default function WorkshopCard({title, description, quarter, img, alt, desktopHorizontal}) {
const gridStyle = desktopHorizontal ? 'grid-tablet-2' : styles['grid-tablet-only-2'];
return (
<... |
ajax/libs/react-data-grid/0.13.25/react-data-grid.min.js | dada0423/cdnjs | !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):"object"==typeof exports?exports.ReactDataGrid=t(require("react")):e.ReactDataGrid=t(e.React)}(this,function(e){return function(e){function t(o){if(r[o])return r[... |
src/__tests__/fileMocks/componentsUnnamed/components/UnnamedClass.js | react-cosmos/fs-playground | // @flow
import React, { Component } from 'react';
export default class extends Component<{ name: string }> {
render() {
return <span>{this.props.name}</span>;
}
}
|
project/src/scenes/Admin/Content/ContentType/CreateContainer.js | strues/boldr | /* @flow */
// import React, { Component } from 'react';
import { connect } from 'react-redux';
import { graphql } from 'react-apollo';
import CREATE_CONTENT_TYPE_MUTATION from '../gql/createContentType.graphql';
import CreateContentType from './CreateContentType';
// $FlowIssue
const withMutation = graphql(CREATE_CON... |
src/js/components/configPage/RadioButtonGroup/RadioButton.js | zacyu/bilibili-helper | /**
* Author: Ruo
* Create: 2018-08-14
* Description: 单选按钮组
*/
import React from 'react';
import PropTypes from 'prop-types';
import styled, {ThemeProvider} from 'styled-components';
import Color from 'color';
import {Ripple} from 'Components';
import {theme} from 'Styles';
const {color} = theme;
const RadioButt... |
examples/tree-view/index.js | keyanzhang/redux | import 'babel-polyfill'
import React from 'react'
import { render } from 'react-dom'
import { Provider } from 'react-redux'
import Node from './containers/Node'
import configureStore from './store/configureStore'
import generateTree from './generateTree'
const tree = generateTree()
const store = configureStore(tree)
... |
modules/userguide/media/guide/js/jquery.min.js | sgarciab/SAB | /*!
* 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.
... |
ajax/libs/6to5/1.12.9/browser.js | BobbieBel/cdnjs | !function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.to5=e()}}(function(){var define,module,exports;return... |
packages/mineral-ui-icons/src/IconMonetizationOn.js | mineral-ui/mineral-ui | /* @flow */
import React from 'react';
import Icon from 'mineral-ui/Icon';
import type { IconProps } from 'mineral-ui/Icon/types';
/* eslint-disable prettier/prettier */
export default function IconMonetizationOn(props: IconProps) {
const iconProps = {
rtl: false,
...props
};
return (
<Icon {...ico... |
client/modules/messaging/components/.stories/conversation_new.js | kaibagoh/PitchSpot | import React from 'react';
import { storiesOf, action } from '@kadira/storybook';
import { setComposerStub } from 'react-komposer';
import ConversationNew from '../conversation_new.jsx';
storiesOf('messaging.ConversationNew', module)
.add('default view', () => {
return (
<ConversationNew />
);
})
|
src/routes/error/ErrorPage.js | LeraSavchenko/Maysternia | /**
* React Starter Kit (https://www.reactstarterkit.com/)
*
* Copyright © 2014-present Kriasoft, LLC. All rights reserved.
*
* This source code is licensed under the MIT license found in the
* LICENSE.txt file in the root directory of this source tree.
*/
import React from 'react';
import PropTypes from 'prop-... |
ajax/libs/rxjs/2.3.5/rx.all.js | GaryChamberlain/cdnjs | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
;(function (undefined) {
var objectTypes = {
'boolean': false,
'function': true,
'object': true,
'number': false,
'string': false,
'undefined': false... |
src/modern/types/__tests__/ReactTypeScriptPropTypes-test.js | ropik/react | /**
* Copyright 2014-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... |
node_modules/pretty-format/perf/test.js | aggiedefenders/aggiedefenders.github.io | /**
* Copyright (c) 2014-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.
*/
const util = ... |
src/svg-icons/image/grid-on.js | jacklam718/react-svg-iconx | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ImageGridOn = (props) => (
<SvgIcon {...props}>
<path d="M20 2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM8 20H4v-4h4v4zm0-6H4v-4h4v4zm0-6H4V4h4v4zm6 12h-4v-4h4v4zm0-6h-4v-4h4v4zm0-6... |
src/svg-icons/places/smoke-free.js | matthewoates/material-ui | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let PlacesSmokeFree = (props) => (
<SvgIcon {...props}>
<path d="M2 6l6.99 7H2v3h9.99l7 7 1.26-1.25-17-17zm18.5 7H22v3h-1.5zM18 13h1.5v3H18zm.85-8.12c.62-.61 1-1.45 1-2.38h-1.5c0 1.02-.83 1.85-1.85 1.85v1.5c2.24 0 ... |
src/shared/zarizeni/umistovani/__tests__/ZarizenInfo.spec.js | hhjcz/too-simple-react-skeleton | /** Created by hhj on 3/15/16. */
/* eslint-disable no-unused-expressions, no-unused-vars, import/no-extraneous-dependencies */
import { expect } from 'chai'
import React from 'react'
import sd from 'skin-deep'
import ZarizeniInfo from '../ZarizeniInfo'
describe('umistovani ZarizeniInfo component', () => {
const sha... |
client/js/views/chat/MessageHistoryView.js | nebrius/schat | /*
The MIT License (MIT)
Copyright (c) 2014 Bryan Hughes <bryan@theoreticalideations.com> (http://theoreticalideations.com)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, in... |
src/index.js | dpastoor/react-pluralsight | import React from 'react';
import { render } from 'react-dom'
import App from './App.jsx'
render(<App name="React" />, document.getElementById('root'));
|
frontend/src/components/dialog/save-shared-file-dialog.js | miurahr/seahub | import React from 'react';
import PropTypes from 'prop-types';
import { Button, Modal, ModalHeader, ModalBody, ModalFooter, Alert } from 'reactstrap';
import { gettext } from '../../utils/constants';
import { seafileAPI } from '../../utils/seafile-api';
import FileChooser from '../file-chooser/file-chooser';
import { U... |
code/workspaces/web-app/src/components/app/SideBarButton.spec.js | NERC-CEH/datalab | import React from 'react';
import { render } from '@testing-library/react';
import { Router } from 'react-router';
import { createMemoryHistory } from 'history';
import SideBarButton from './SideBarButton';
describe('SideBarButton', () => {
const history = createMemoryHistory();
it('correctly passes props to wrap... |
ajax/libs/yasgui/1.1.11/yasgui.bundled.min.js | sympmarc/cdnjs | !function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;"undefined"!=typeof window?t=window:"undefined"!=typeof global?t=global:"undefined"!=typeof self&&(t=self),t.YASGUI=e()}}(function(){var e;return function t(e,n,r... |
WasteAppMini/js/components/icon/index.js | airien/workbits |
import React, { Component } from 'react';
import { connect } from 'react-redux';
import { Container, Header, Title, Content, Button, Icon, View } from 'native-base';
import { openDrawer } from '../../actions/drawer';
import styles from './styles';
class NHForm extends Component { // eslint-disable-line
static pr... |
ajax/libs/foundation/4.1.2/js/vendor/jquery.js | LostCrew/cdnjs | /*!
* jQuery JavaScript Library v1.9.1
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright 2005, 2012 jQuery Foundation, Inc. and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2013-2-4
*/
(function( window, undefined ) {
// Can't do t... |
blueocean-material-icons/src/js/components/svg-icons/image/landscape.js | jenkinsci/blueocean-plugin | import React from 'react';
import SvgIcon from '../../SvgIcon';
const ImageLandscape = (props) => (
<SvgIcon {...props}>
<path d="M14 6l-3.75 5 2.85 3.8-1.6 1.2C9.81 13.75 7 10 7 10l-6 8h22L14 6z"/>
</SvgIcon>
);
ImageLandscape.displayName = 'ImageLandscape';
ImageLandscape.muiName = 'SvgIcon';
export default... |
node_modules/react-icons/lib/io/cash.js | bengimbel/Solstice-React-Contacts-Project | 'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } }... |
test/NavSpec.js | wjb12/react-bootstrap | import React from 'react';
import ReactTestUtils from 'react/lib/ReactTestUtils';
import Nav from '../src/Nav';
import NavItem from '../src/NavItem';
import Button from '../src/Button';
describe('Nav', () => {
it('Should set the correct item active', () => {
let instance = ReactTestUtils.renderIntoDocument(
... |
ajax/libs/vue-chartjs/3.1.1/vue-chartjs.js | joeyparrish/cdnjs | /*!
* vue-chartjs v3.1.1
* (c) 2018 Jakub Juszczak <jakub@posteo.de>
* http://vue-chartjs.org
*/
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("chart.js"));
else if(typeof define === 'function' && define... |
ajax/libs/rxjs/2.3.16/rx.js | cgvarela/cdnjs | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
;(function (undefined) {
var objectTypes = {
'boolean': false,
'function': true,
'object': true,
'number': false,
'string': false,
'undefined': false... |
assets/registration/components/DynamicFieldsSkills.js | janta-devs/nyumbani | import React, { Component } from 'react';
import AddButton from './AddButton';
import Fieldskill from './Fieldskill';
var y = [[1],];
class DynamicFieldsSkills extends Component{
constructor( context, props ){
super( context, props );
this.state = {
count: 1,
fields: []
}
}
_getAction( event ){
eve... |
js/components/developer/language-picker-screen/languageSelectionListItem.js | justarrived/p2p-client | import React, { Component } from 'react';
import { connect } from 'react-redux';
import SelectionListItem from '../../common/selection-list-item/selectionListItem';
import { addLanguage, removeLanguage } from '../../../actions/languages';
class LanguageSelectionListItem extends Component {
static propTypes = {
... |
example/index.js | bmcmahen/react-cast | import React from 'react'
import ReactDOM from 'react-dom';
import GridWrapper from './example'
ReactDOM.render(<GridWrapper />, document.getElementById('root'))
|
components/LikeList.js | stevenctl/tweebot-ui | import React from 'react';
import HashtagList from './HashtagList';
export default class LikeList extends React.Component{
componentWillMount(){
}
render(){
let heartIcon = <i className="glyphicon glyphicon-heart"/>;
let heading = <div>{heartIcon} Like
... |
app/addons/databases/routes.js | apache/couchdb-fauxton | // Licensed under the Apache License, Version 2.0 (the "License"); you may not
// use this file except in compliance with the License. You may obtain a copy of
// the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed un... |
ajax/libs/core-js/0.4.6/library.js | pvnr0082t/cdnjs | /**
* Core.js 0.4.6
* https://github.com/zloirock/core-js
* License: http://rock.mit-license.org
* © 2015 Denis Pushkarev
*/
!function(global, framework, undefined){
'use strict';
/******************************************************************************
* Module : common ... |
es/components/Chat/index.js | welovekpop/uwave-web-welovekpop.club | import _jsx from "@babel/runtime/helpers/builtin/jsx";
import React from 'react';
import ChatMessages from '../../containers/ChatMessages';
import ChatInput from '../../containers/ChatInput';
var _ref =
/*#__PURE__*/
_jsx("div", {
className: "ChatContainer"
}, void 0, _jsx("div", {
className: "ChatContainer-messag... |
src/components/LoginPage/LoginPage.js | fsad/react-starter-kit | /*! React Starter Kit | MIT License | http://www.reactstarterkit.com/ */
import React, { PropTypes } from 'react';
import styles from './LoginPage.css';
import withStyles from '../../decorators/withStyles';
@withStyles(styles)
class LoginPage {
static contextTypes = {
onSetTitle: PropTypes.func.isRequired
};... |
ajax/libs/core-js/0.9.18/core.js | bspaulding/cdnjs | /**
* core-js 0.9.18
* https://github.com/zloirock/core-js
* License: http://rock.mit-license.org
* © 2015 Denis Pushkarev
*/
!function(undefined){
'use strict';
var __e = null, __g = null;
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};
/*****... |
ajax/libs/material-ui/5.0.0-beta.0/modern/Collapse/Collapse.min.js | cdnjs/cdnjs | import _objectWithoutPropertiesLoose from"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";import _extends from"@babel/runtime/helpers/esm/extends";const _excluded=["children","className","collapsedSize","component","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","orientation","... |
ajax/libs/yui/3.18.0/scrollview-base/scrollview-base.js | ethantw/cdnjs | YUI.add('scrollview-base', function (Y, NAME) {
/**
* The scrollview-base module provides a basic ScrollView Widget, without scrollbar indicators
*
* @module scrollview
* @submodule scrollview-base
*/
// Local vars
var getClassName = Y.ClassNameManager.getClassName,
DOCUMENT = Y.config.doc,
IE = Y.UA.ie... |
src/NavItem.js | andrew-d/react-bootstrap | import React from 'react';
import classNames from 'classnames';
import BootstrapMixin from './BootstrapMixin';
import SafeAnchor from './SafeAnchor';
const NavItem = React.createClass({
mixins: [BootstrapMixin],
propTypes: {
linkId: React.PropTypes.string,
onSelect: React.PropTypes.func,
active: React... |
packages/icons/src/fabric.js | geek/joyent-portal | import React from 'react';
import Rotate from './rotate';
import calcFill from './fill';
export default ({
fill = null,
light = false,
disabled = false,
direction = 'down',
colors = {},
style = {},
...rest
}) => (
<Rotate direction={direction}>
{({ style: rotateStyle }) => (
<svg
xml... |
src/components/MatchCard/MatchCard.js | dragoncodes/dragon-lol | import React from 'react'
import SummonerSpell from 'components/SummonerSpellCard'
import Item from 'components/ItemCard'
import { RiotApi } from 'riot-api'
import { Link } from 'react-router'
import Champion from 'components/Champion'
import './MatchCard.scss'
export default class MatchCard extends React.Component {... |
src/App.js | duncanfinney/reactjs-base-project | import React, { Component } from 'react';
export class App extends Component {
render() {
return (
<h1>Hello world</h1>
);
}
}
|
addons/storyshots/stories/required_with_context/Button.stories.js | shilman/storybook | import React from 'react';
import { storiesOf } from '@storybook/react';
import { action } from '@storybook/addon-actions';
import { linkTo } from '@storybook/addon-links';
import Button from './Button';
import Welcome from './Welcome';
storiesOf('Button', module)
.add('with text', () => <Button onClick={action('c... |
src/components/Properties.js | gorgias/gorgias-docs | import React from 'react'
import {Table} from 'reactstrap'
import ReactMarkdown from 'react-markdown'
const Property = ({definitionName, prop, name, required}) => {
const displayName = prop.get('type') || prop.get('$ref').split('/')[2]
let displayComp = displayName
if (!prop.get('type') && prop.get('$ref'... |
indico/modules/events/management/client/js/index.js | indico/indico | // This file is part of Indico.
// Copyright (C) 2002 - 2022 CERN
//
// Indico is free software; you can redistribute it and/or
// modify it under the terms of the MIT License; see the
// LICENSE file for more details.
/* global setupSearchBox:false, strnatcmp:false, cornerMessage:false, handleAjaxError:false,
... |
frontend/src/views/Dashboard.spec.js | kilip/demo | import React from 'react';
import Dashboard from './Dashboard';
import { shallow } from 'enzyme';
describe("Dashboard",() => {
it('renders without crashing',() => {
shallow(<Dashboard/>);
});
it('should render properly',() => {
const props = {children: (<div><span>Hello World</span></div>)... |
ajax/libs/angular.js/0.9.15/angular-scenario.js | jrbasso/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.
... |
examples/huge-apps/routes/Course/components/Course.js | moudy/react-router | import React from 'react';
import Dashboard from './Dashboard';
import Nav from './Nav';
var styles = {};
styles.sidebar = {
float: 'left',
width: 200,
padding: 20,
borderRight: '1px solid #aaa',
marginRight: 20
};
class Course extends React.Component {
render () {
let { children, params } = this.pro... |
installer/frontend/trail.js | alexsomesan/tectonic-installer | import _ from 'lodash';
import React from 'react';
import { Map as ImmutableMap, Set as ImmutableSet } from 'immutable';
import { commitPhases } from './actions';
import { PLATFORM_TYPE, DRY_RUN } from './cluster-config';
import { CertificateAuthority } from './components/certificate-authority';
import { ClusterInfo ... |
blueocean-material-icons/src/js/components/svg-icons/av/music-video.js | kzantow/blueocean-plugin | import React from 'react';
import SvgIcon from '../../SvgIcon';
const AvMusicVideo = (props) => (
<SvgIcon {...props}>
<path d="M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H3V5h18v14zM8 15c0-1.66 1.34-3 3-3 .35 0 .69.07 1 .18V6h5v2h-3v7.03c-.02 1.64-1.35 2.97-3 2.97-1.66 0-3-... |
ajax/libs/react-data-grid/1.0.51/react-data-grid.ui-plugins.js | kennynaoh/cdnjs | (function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("react"), require("react-dom"));
else if(typeof define === 'function' && define.amd)
define(["react", "react-dom"], factory);
else if(typeof exports === 'obje... |
ajax/libs/material-ui/5.0.0-alpha.5/es/Dialog/Dialog.js | cdnjs/cdnjs | import _extends from "@babel/runtime/helpers/esm/extends";
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
import * as React from 'react';
import PropTypes from 'prop-types';
import clsx from 'clsx';
import withStyles from '../styles/withStyles';
import capitalize fr... |
src/wics/node_modules/material-ui/svg-icons/social/people.js | civiclee/Hack4Cause2017 | 'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
var _react = require('react');
var _react2 = _interopRequireDefault(_react);
var _pure = require('recompose/pure');
var _pure2 = _interopRequireDefault(_pure);
var _SvgIcon = require('../../SvgIcon');
var _SvgIcon2 = _interopRequireDe... |
actor-apps/app-web/src/app/components/sidebar/ContactsSection.react.js | jamesbond12/actor-platform | import _ from 'lodash';
import React from 'react';
import { Styles, RaisedButton } from 'material-ui';
import ActorTheme from 'constants/ActorTheme';
import ContactStore from 'stores/ContactStore';
import ContactActionCreators from 'actions/ContactActionCreators';
import AddContactStore from 'stores/AddContactStore'... |
client/complete/src/routes.js | fernandoxu/react-express-api-demo | import React from 'react';
import { Router, Route, IndexRoute, browserHistory } from 'react-router';
import App from './ui/App';
import PostList from './ui/posts/PostList';
import ShowPost from './ui/posts/ShowPost';
import NewPost from './ui/posts/NewPost';
import EditPost from './ui/posts/EditPost';
export const re... |
ajax/libs/react-dom/16.0.0-alpha.11/umd/react-dom-server.development.js | sufuf3/cdnjs | /**
* react-dom-server.development.js v16.0.0-alpha.11
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('react')) :
typeof define === 'function' && define.amd ? define(['react'], factory) :
(global.ReactDOMServer = factory(global.Reac... |
www/components/SideMenu.js | gnetsys/OnsenUIv2-React-PhoneGap-Starter-Kit | import React from 'react';
import {
Page,
Splitter,
SplitterSide,
SplitterContent,
Toolbar,
ToolbarButton,
BackButton,
Icon,
List,
ListItem,
ListHeader
} from 'react-onsenui';
class SideMenu extends React.Component {
constructor(props) {
super(props);
this.state = {
isOpen: fals... |
src/svg-icons/image/switch-camera.js | kittyjumbalaya/material-components-web | import React from 'react';
import pure from 'recompose/pure';
import SvgIcon from '../../SvgIcon';
let ImageSwitchCamera = (props) => (
<SvgIcon {...props}>
<path d="M20 4h-3.17L15 2H9L7.17 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-5 11.5V13H9v2.5L5.5 12 9 8.5V11h6V8.5l3.5 3.5-3.5... |
resources/apps/frontend/src/pages/subscriptions/lists.js | johndavedecano/PHPLaravelGymManagementSystem | import React from 'react';
import {Card, CardBody, CardHeader} from 'reactstrap';
import {Link} from 'react-router-dom';
import {Table} from 'components/Table';
import TableActions from 'components/Table/TableActions';
import Confirm from 'components/Dialogs/Confirm';
import Loader from 'components/Loader';
import Card... |
ajax/libs/yui/3.10.0/datatable-body/datatable-body-coverage.js | jacoborus/cdnjs | if (typeof __coverage__ === 'undefined') { __coverage__ = {}; }
if (!__coverage__['build/datatable-body/datatable-body.js']) {
__coverage__['build/datatable-body/datatable-body.js'] = {"path":"build/datatable-body/datatable-body.js","s":{"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13"... |
src/icons/IosArrowBack.js | fbfeix/react-icons | import React from 'react';
import IconBase from './../components/IconBase/IconBase';
export default class IosArrowBack extends React.Component {
render() {
if(this.props.bare) {
return <g>
<polygon points="352,128.4 319.7,96 160,256 160,256 160,256 319.7,416 352,383.6 224.7,256 "></polygon>
</g>;
} return ... |
src/components/header.js | MozillaIndia/mozillaindia.github.io | import React from 'react'
import { Link } from 'gatsby'
import logo from '../images/mozilla-wordmark.svg'
class Header extends React.Component {
constructor(props) {
super(props)
this.state = {
active: false,
navBarActiveClass: '',
}
}
toggleHamburger = () => {
// toggle the active b... |
tests/views/HomeView.spec.js | itjope/tipskampen | import React from 'react'
import TestUtils from 'react-addons-test-utils'
import { bindActionCreators } from 'redux'
import { HomeView } from 'views/HomeView/HomeView'
import { mount } from 'enzyme'
function shallowRender (component) {
const renderer = TestUtils.createRenderer()
renderer.render(component)
retur... |
docs/src/examples/elements/Button/States/ButtonExampleActive.js | Semantic-Org/Semantic-UI-React | import React from 'react'
import { Button } from 'semantic-ui-react'
const ButtonExampleActive = () => <Button active>Active</Button>
export default ButtonExampleActive
|
src/react-toggle-buttonDemo.js | gdowens/react-toggle-button | import React, { Component } from 'react';
import { render } from 'react-dom';
import ToggleButton from './react-toggle-button';
import { X, Check } from './iconExamples'
const styles = {
container: {
display: 'flex',
flexDirection: 'column',
alignItems: 'center',
flex: 1,
fontFamily: 'Helvetica N... |
src/Parser/HolyPaladin/Modules/Items/SoulOfTheHighlord.js | Yuyz0112/WoWAnalyzer | import React from 'react';
import ITEMS from 'common/ITEMS';
import SPELLS from 'common/SPELLS';
import SpellLink from 'common/SpellLink';
import Module from 'Parser/Core/Module';
class SoulOfTheHighlord extends Module {
on_initialized() {
if (!this.owner.error) {
this.active = this.owner.selectedCombata... |
src/components/Sidebar/Copyright/Copyright.js | ryanermita/ryanermita.github.io | // @flow strict
import React from 'react';
import styles from './Copyright.module.scss';
type Props = {
copyright: string
};
const Copyright = ({ copyright }: Props) => (
<div className={styles['copyright']}>
{copyright}
</div>
);
export default Copyright;
|
src/components/main-carousel/index.js | adrienlozano/stephaniewebsite | import React from 'react';
import styled from 'styled-components';
import { Carousel } from 'react-responsive-carousel';
import img1 from '~/resources/images/home/home1.large.jpg';
import Callout from './callout';
import { BlockLink } from "rebass";
import Typography from "~/components/typography";
const CarouselItem... |
third_party/prometheus_ui/base/web/ui/node_modules/reactstrap/es/BreadcrumbItem.js | GoogleCloudPlatform/prometheus-engine | import _extends from "@babel/runtime/helpers/esm/extends";
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
var _excluded = ["className", "cssModule", "active", "tag"];
import React from 'react';
import PropTypes from 'prop-types';
import classNames from 'classnames';... |
node_modules/react-icons/io/ios-search-strong.js | bairrada97/festival |
import React from 'react'
import Icon from 'react-icon-base'
const IoIosSearchStrong = props => (
<Icon viewBox="0 0 40 40" {...props}>
<g><path d="m26.9 23.3l-0.3 0.5 8.4 8.5-2.7 2.7-8.4-8.5-0.5 0.4c-1.9 1.1-4.2 1.9-6.5 1.9-6.6 0-11.9-5.4-11.9-11.9s5.3-11.9 11.9-11.9 11.9 5.3 11.9 11.9c0 2.3-0.8 4.5-1.9 ... |
src/globalConfig/index.js | NE-SmallTown/React-QuietWater | /**
* v0.0.1
*
* Copyright (c) 2017
*
* Date: 2017/5/3 by Heaven
*/
import React from 'react';
import merge from 'lodash/merge';
const configParams = {
languageName: 'zh-cn', // Note that this property value must match the file name in the /src/language directory
styles: { // 各个部分的皮肤设置,注意要和JSX中的style属性格式一致... |
node_modules/bs-recipes/recipes/webpack.react-transform-hmr/app/js/main.js | 18514253911/new-myAdmin | 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'));
|
packages/cp-frontend/test/unit/components/navigation/breadcrumb.js | yldio/copilot | /**
* @jest-environment jsdom
*/
import React from 'react';
import renderer from 'react-test-renderer';
import 'jest-styled-components';
import Breadcrumb from '@components/navigation/breadcrumb';
import { Router } from '../../mocks';
it('renders <Breadcrumb /> without throwing', () => {
const tree = renderer
... |
ajax/libs/react-autocomplete/1.4.3/react-autocomplete.min.js | pvnr0082t/cdnjs | !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["react","react-dom"],e):t.ReactAutocomplete=e(t.React,t.ReactDOM)}(this,function(t,e){return function(t){return function e(n,o,i){function r(l,u){if(!... |
ajax/libs/react-bootstrap/0.30.6/react-bootstrap.min.js | jonobr1/cdnjs | !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["react","react-dom"],t):"object"==typeof exports?exports.ReactBootstrap=t(require("react"),require("react-dom")):e.ReactBootstrap=t(e.React,e.ReactDOM)}(... |
src/app/components/navLink.js | nazar/soapee-ui | import React from 'react';
import cx from 'classnames';
import {Link, State} from 'react-router';
export default React.createClass( {
mixins: [
State
],
activeClassForTo( to ) {
return cx( { active: this.isActive( to ) } );
},
render() {
return (
<li className=... |
src/js/components/navigation/cart-nav-item.js | v3rt1go/jsse-client | 'use strict';
import React from 'react';
class CartNavItem extends React.Component {
componentDidMount() {
$('.cartNav > .button').popup({
inline : false,
hoverable: true,
position : 'bottom right',
transition: 'slide down'
});
}
render() {
return (
<div className="it... |
nextgisbio/static/js/lib/xstyle/core/expression.js | nextgis/nextgisbio | define("xstyle/core/expression", ["xstyle/core/utils"], function(utils){
// handles the creation of reactive expressions
var jsKeywords = {
'true': true, 'false': false, 'null': 'null', 'typeof': 'typeof', or: '||', and: '&&'
};
var nextId = 1;
function get(target, path, callback){
return utils.when(target, fu... |
react/features/base/react/components/native/HeaderLabel.js | jitsi/jitsi-meet | // @flow
import React, { Component } from 'react';
import { Text, View } from 'react-native';
import { ColorSchemeRegistry } from '../../../color-scheme';
import { translate } from '../../../i18n';
import { connect } from '../../../redux';
/**
* The type of the React {@code Component} props of {@link HeaderLabel}.
... |
src/components/FeatureSection.js | tuanvt/asterixlab | import React from 'react';
var mockupMp4 = require('../videos/Mock-up/Mp4/Mock-up.mp4');
var mockupWebm = require('../videos/Mock-up/Webm/Mock-up.webm');
var mockupOgv = require('../videos/Mock-up/Ogv/Mock-up.ogv');
var mockupJpg = require('../videos/Mock-up/Snapshot/Mock-up.jpg');
export const SUBHAND_IMAGE = require(... |
src/App.js | wrpoulson/reusable-react-components | import React, { Component } from 'react';
import logo from './logo.svg';
import './App.css';
class App extends Component {
render() {
return (
<div className="App">
<div className="App-header">
<img src={logo} className="App-logo" alt="logo" />
<h2>Welcome to React</h2>
... |
src/index.js | shiftyfive/top-shelf-tracker-UI | import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import App from './App';
import registerServiceWorker from './registerServiceWorker';
ReactDOM.render(
<App />, document.getElementById('root')
);
registerServiceWorker();
|
ajax/libs/es6-shim/0.19.2/es6-shim.js | lucasls/cdnjs | /*!
* https://github.com/paulmillr/es6-shim
* @license es6-shim Copyright 2013-2014 by Paul Miller (http://paulmillr.com)
* and contributors, MIT License
* es6-shim: v0.19.2
* see https://github.com/paulmillr/es6-shim/blob/master/LICENSE
* Details and documentation:
* https://github.com/paulmillr/es6-... |
ajax/libs/rxjs/2.2.7/rx.js | bseib/cdnjs | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
(function (window, undefined) {
var freeExports = typeof exports == 'object' && exports,
freeModule = typeof module == 'object' && module && module.exports == freeExports &&... |
Libraries/CustomComponents/Navigator/Navigator.js | thstarshine/react-native | /**
* Copyright (c) 2015, Facebook, Inc. All rights reserved.
*
* Facebook, Inc. ("Facebook") owns all right, title and interest, including
* all intellectual property and other proprietary rights, in and to the React
* Native CustomComponents software (the "Software"). Subject to your
* compliance with these t... |
src/components/Checkout.js | aryalprakash/aryalprakash.github.io | /**
* Created by prakash on 8/29/2016.
*/
import React, { Component } from 'react';
import { Link } from 'react-router';
import Header from './Header'
import Footer from './Footer'
import Filter from './Filter'
import Deals from './Deals'
export default class Checkout extends Component {
constructor() {
... |
src/routes.js | oshalygin/react-slingshot | import React from 'react';
import { Route, IndexRoute } from 'react-router';
import App from './components/App';
import HomePage from './components/HomePage';
import FuelSavingsPage from './containers/FuelSavingsPage'; // eslint-disable-line import/no-named-as-default
import AboutPage from './components/AboutPage';
im... |
docs/src/pages/demos/app-bar/ButtonAppBar.js | Kagami/material-ui | import React from 'react';
import PropTypes from 'prop-types';
import { withStyles } from '@material-ui/core/styles';
import AppBar from '@material-ui/core/AppBar';
import Toolbar from '@material-ui/core/Toolbar';
import Typography from '@material-ui/core/Typography';
import Button from '@material-ui/core/Button';
impo... |
modules/Lifecycle.js | runlevelsix/react-router | import React from 'react'
import invariant from 'invariant'
const { object } = React.PropTypes
/**
* The Lifecycle mixin adds the routerWillLeave lifecycle method
* to a component that may be used to cancel a transition or prompt
* the user for confirmation.
*
* On standard transitions, routerWillLeave receives ... |
src/components/button/button.js | n7best/react-weui | import React from 'react';
import PropTypes from 'prop-types';
import classNames from '../../utils/classnames';
/**
* Button usage:OK(primary)、Cancel(default)、Warn(warn).
*
*/
export default class Button extends React.Component {
static propTypes = {
disabled: PropTypes.bool,
/**
* Opt... |
src/views/HomeView/HomeView.js | DonHansDampf/whattoeat_website | /* @flow */
import React from 'react'
import Home from '../../components/Home/Home'
export class HomeView extends React.Component {
render () {
return (
<div>
<Home />
</div>
)
}
}
export default HomeView
|
docs/pages/company/software-engineer.js | lgollut/material-ui | import React from 'react';
import TopLayoutCompany from 'docs/src/modules/components/TopLayoutCompany';
import { prepareMarkdown } from 'docs/src/modules/utils/parseMarkdown';
const pageFilename = 'company/software-engineer';
const requireDemo = require.context(
'docs/src/pages/company/software-engineer',
false,
... |
src/components/AntMenu.js | micahh2/means | import React from 'react';
import classNames from 'classnames';
import { PropTypes } from 'prop-types';
import '../styles/ant-menu.scss';
export function AntMenu(props) {
return (<div>
<div className="antmenu-dots">...</div>
<div className="antmenu-popup">
<div className={classNames({
"antmenu... |
packages/material-ui-icons/src/LocationOffSharp.js | kybarg/material-ui | import React from 'react';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(
<React.Fragment><path d="M3.41 2.86L2 4.27l3.18 3.18C5.07 7.95 5 8.47 5 9c0 5.25 7 13 7 13s1.67-1.85 3.38-4.35L18.73 21l1.41-1.41L3.41 2.86zM12 2c-1.84 0-3.5.71-4.75 1.86l3.19 3.19c.43-.34.97-.55 1.56-.55 1.38... |
Example/index.ios.js | taskrabbit/react-native-parsed-text | /**
* Sample React Native App
* https://github.com/facebook/react-native
*/
'use strict';
import React from 'react';
import {
AppRegistry,
StyleSheet,
View,
LinkingIOS,
AlertIOS,
} from 'react-native';
import ParsedText from 'react-native-parsed-text';
class Example extends React.Component {
static di... |
lib/ui/components/LatestRequestNotifications.js | 500tech/bdsm | import React from 'react';
import styled from 'styled-components';
import URLStamp from 'ui/components/common/URLStamp';
import Icon from 'ui/components/common/Icon';
import throttle from 'lodash/throttle';
import EVENTS from 'api/constants/events';
import get from 'lodash/get';
import API from 'api';
import UIState f... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.