nachos ui
1.0.0
NACHOS UI是一個React Native組件庫。閱讀有關我們如何在介質上構建的更多信息。
需要反應天然0.40及更高。
$ npm install --save nachos-ui
或者
$ yarn add nachos-ui
主題組件應設置為應用程序的最高級別。如果不是這樣,NACHOS UI組件將不會呈現。
import { ThemeProvider } from "nachos-ui";
export default (App = () => (
<ThemeProvider>
<RestOfYourApp />
</ThemeProvider>
));
import React from 'react'
import { View } from 'react-native'
import { Button } from 'nachos-ui'
const App = ( ) => {
return (
< View >
< Button > Button </ Button >
</ View >
)
} 請訪問https://avocode.com/nachos-ui/docs/的文檔,並提供有關每個組件的技術信息。
總是歡迎捐款!貢獻之前,請閱讀我們的行為準則。
閱讀貢獻。
與nachos UI一起玩,首先克隆存儲庫:
$ git clone [email protected]:avocode/nachos-ui.git
理想情況下,使用紗線安裝依賴項。快速且一致:
$ yarn install
運行iOS模擬器運行:
$ yarn run start
運行網絡版本:
$ yarn run start:web
NACHOS UI是開源的,並根據MIT許可發布。