프로젝트
GitHub에서 보기
panza-org/panza
소개
react-native stateless functional UI components to get you up and running quickly
웹 및 앱 개발측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Originalpanza
Panza is a collection of ui-components for react-native modelled after iOS.
This library is currently undergoing a rewrite and will be updated soon along with new documentation.
Getting Started
$ npm i panza --save
$ npm i react-native-vector-icons --save
$ rnpm link react-native-vector-icons
Components
Inputs
- InputRow
- InputGroup
- InputHelpText
- InputToggle
- InputPicker
- InputDatePicker
- RemovableInput
- AddRow
- TouchableInput
Rows
Navigation
Pages
Buttons
Text
Images
Icons
- Icon
- TouchableIcon
- PlusIcon
- ArrowRightIcon
- CloseIcon
- BackIcon
- SearchIcon
- MoreIcon
Base Components
Customize
You can override parts of the global configuration to provide custom colours, font sizes, scales, etc.
import { config } from 'panza'
class App extends React.Component {
static childContextTypes = {
panza: PropTypes.object
}
getChildContext() {
panza: this.state.styles
}
state = {
styles: {
colors: Object.assign(
{},
config.colors,
{ primary: config.colors.red } // change the primary color from blue to red
)
}
}
// ... render your app
}
Example
You can install the example application contained within this repository.
$ git clone https://github.com/bmcmahen/panza.git
$ cd panza && npm install
$ react-native run-ios
$ react-native run-android
License
MIT
관련 프로젝트 살펴보기
불러오는 중…