Skip to content

Commit

Permalink
Fix up header padding and add comments to framedatacard regarding inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
scottdj92 committed Apr 20, 2017
1 parent 938861c commit 3a894e3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/components/FrameData/FrameDataCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export default class FrameDataCard extends React.Component {
}

render() {
console.log(this.props.notation);
return (
<View style={Styles.container}>
<TouchableHighlight
Expand All @@ -30,6 +31,7 @@ export default class FrameDataCard extends React.Component {
<View>
<Text style={Styles.cardText}>move name</Text>
<Text style={Styles.cardNotation}>{this.props.notation}</Text>
{/* TODO: change the data so we get each input as an array element */}
<Inputs isCard={true} inputs={['1', '1']}/>
</View>
</TouchableHighlight>
Expand All @@ -46,10 +48,11 @@ export default class FrameDataCard extends React.Component {
</View>
<ScrollView>
{/* TODO: make this name dynamic */}
<Header1 title={'Reverse Special Stretch Bomb'}/>
<Header1 title={'Rolling Death Cradle'}/>
<Text style={Styles.notation}>{this.props.notation}</Text>
{/* TODO: change the data so we get each input as an array element */}
<Inputs isCard={false} inputs={['1', '2']}/>
{/* TODO: get attack properties from data source */}
<PropertyList type={'special'} properties={['H', 'T']}/>
<PropertyList type={'general'} damage={this.props.damage} hitLevels={this.props.hit_level} speed={this.props.speed}/>
<PropertyList type={'frames'} onBlock={this.props.on_block} onHit={this.props.on_hit} onCounter={this.props.on_ch}/>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Header1/Header1.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const Styles = StyleSheet.create({
fontSize: 24,
color: 'white',
paddingTop: 10,
paddingBottom: 5,
paddingBottom: 10,
paddingLeft: 15,
fontFamily: 'Exo2-Regular'
}
Expand Down

0 comments on commit 3a894e3

Please sign in to comment.