@qn-pandora/pandora-app-component
v5.0.2
Published
业务组件
Downloads
228
Keywords
Readme
@qn-pandora/pandora-app-component
Pandora 业务组件库,详细文档请参考:https://docs-pandora.qiniu.com/lib/pandora-app-component/index.html
Install
# run in terminal
yarn add @qn-pandora/pandora-app-component
# or
npm install @qn-pandora/pandora-app-component
Usage
import { SearchEditor } from '@qn-pandora/pandora-app-component'
const App = () => {
const sourceTypes = ['one', 'two']
const repos = ['one', 'two']
return (
<SearchEditor sourceTypes={sourceTypes} repos={repos} value="repo=search" />
)
}
And import style manually:
import '@qn-pandora/pandora-app-component/lib/index.css'
// or
import '@qn-pandora/pandora-app-component/lib/index.less'
Support Components & Docs
view the documentation