live-tour-lab
Version:
Create VR tours. Built on React VR. LiveTourLab is the #1 open source framework and ecosystem for creating Live Tours. Extend with your own VR components in minutes.
31 lines (27 loc) • 490 B
JavaScript
import React from 'react';
import {
View
} from 'react-vr';
export default class CardButtonRow extends React.Component {
static defaultProps = {
paddingTop: 0.2,
};
constructor(props) {
super();
this.state = {
};
}
componentDidMount() {
}
render() {
return (
<View style={{
flexDirection: 'row',
alignItems: 'stretch',
paddingTop: this.props.paddingTop,
}}>
{this.props.children}
</View>
);
}
}