Projetos
Ver no GitHub 
ptmt/react-native-touchbar
Sobre
TouchBar para react-native-macos
Desenvolvimento web e de aplicativosCrescimento medido de estrelas
- em 24 h
- 0
- em 7 dias
- 0
- em 15 dias
- -1
- em 1 mês
- Coletando histórico
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
README.md
Originalimport React from 'react';
import { View } from 'react-native-macos';
import TouchBar from 'react-native-touchbar';
export default myApp = () => (
<View style={styles.container}>
<TouchBar>
<Button title="Esc" onClick={() => alert('Hello, vim!')}/>
<Button title="Courage" style={{ fontSize: 12 }} />
<View style={{ backgroundColor: 'red', flex: 1}} />
</TouchBar>
<Text style={styles.welcome}>
Welcome to React Native macOS!
</Text>
<Text style={styles.instructions}>
To get started, edit index.macos.js
</Text>
<Text style={styles.instructions}>
Press Cmd+R to reload,{'\n'}
Or use Developer Menu
</Text>
</View>
)

You need Xcode 8.1 on macOS Sierra 10.12.1 (12B2657) or later.
Enable Touchbar simulator in Xcode -> Windows menu:

TODO:
- Different native TouchBarItems (like segmented controls)
- Inner touchbar (touchbar inside touchbars)
- Customization
- Several Touchbar instances per app
Explore projetos relacionados
Carregando…