path
stringlengths 5
300
| repo_name
stringlengths 6
76
| content
stringlengths 26
1.05M
|
---|---|---|
examples/counter/src/index.js | Lucifier129/refer | import React from 'react'
import App from './container/App'
React.render(
<App />,
document.getElementById('container')
)
|
src/components/Layout/SystemSwitcher.js | steem/qwp-antd | import React from 'react'
import PropTypes from 'prop-types'
import { Menu, Dropdown, Icon } from 'antd'
import { Link } from 'dva/router'
const SystemSwitcher = ({ itemClassName, subSystems }) => {
const sysMenus = (<Menu>
<Menu.Item>System Navigation Switcher Menu</Menu.Item>
<Menu.Divider />
{subSystems.map(item => (
<Menu.Item>
<Link to={item.path}>{item.icon && <Icon type={item.icon} />} {item.name}</Link>
</Menu.Item>
))}
</Menu>
)
return (
<Dropdown overlay={sysMenus} trigger={['click']}>
<div className={itemClassName}>
<a className="ant-dropdown-link">
<Icon type="down-circle-o" />
</a>
</div>
</Dropdown>
)
}
SystemSwitcher.propTypes = {
subSystems: PropTypes.array.isRequired,
itemClassName: PropTypes.string.isRequired,
}
export default SystemSwitcher
|
ajax/libs/video.js/5.15.1/video.js | cdnjs/cdnjs | "/**\n * @license\n * Video.js 5.15.1 <http://videojs.com/>\n * Copyright Brightcove, Inc. <https://(...TRUNCATED) |
web/src/routes/Contacts/components/Contacts.js | darioml/farley-files | "import React from 'react'\nimport { ContactAdd } from './ContactForm'\nimport { Contact } from './C(...TRUNCATED) |
client/fragments/quizzes/main.js | yeoh-joer/synapse | "/**\n * External dependencies\n */\nimport React from 'react'\nimport { connect } from 'react-redux(...TRUNCATED) |
cdn.pagic.org/[email protected]/esnext/server.development.js | xcatliu/pagic | "/* esm.sh - esbuild bundle([email protected]/server) esnext development */\nimport react from \"/re(...TRUNCATED) |
docs-ui/components/tag.stories.js | looker/sentry | "import React from 'react';\nimport {storiesOf} from '@storybook/react';\nimport {withInfo} from '@s(...TRUNCATED) |
src/svg-icons/hardware/phone-iphone.js | pomerantsev/material-ui | "import React from 'react';\nimport pure from 'recompose/pure';\nimport SvgIcon from '../../SvgIcon'(...TRUNCATED) |
ajax/libs/6to5/2.7.1/browser-polyfill.js | iamso/cdnjs | "(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require==\"function\"&&require;(...TRUNCATED) |
lib/Selection/Selection.js | folio-org/stripes-components | "/* API entry for single-single select and multi-select fields... basically a props pass-through. */(...TRUNCATED) |
End of preview. Expand
in Dataset Viewer.
No dataset card yet
New: Create and edit this dataset card directly on the website!
Contribute a Dataset Card- Downloads last month
- 76