Fix props naming (#646)
Summary: It's camelCase for props in JS. Would be good to have a linter for this in place. Pull Request resolved: https://github.com/facebook/flipper/pull/646 Test Plan: yarn flow Reviewed By: jknoxville Differential Revision: D18613822 Pulled By: passy fbshipit-source-id: 9cf03b2a02c7802853edb15cbde8df998df5deb2
This commit is contained in:
committed by
Facebook Github Bot
parent
5589a1b77b
commit
d6b7bd557b
@@ -22,12 +22,12 @@ function isSystemLibrary(libraryName: ?string): boolean {
|
||||
|
||||
type Props = {
|
||||
data: Array<string>,
|
||||
skip_stack_trace_format?: boolean,
|
||||
skipStackTraceFormat?: boolean,
|
||||
};
|
||||
|
||||
export default class extends React.Component<Props> {
|
||||
render() {
|
||||
if (this.props.skip_stack_trace_format) {
|
||||
if (this.props.skipStackTraceFormat) {
|
||||
return (
|
||||
<StackTrace backgroundColor={colors.white}>
|
||||
{this.props.data.map(stack_trace_line => {
|
||||
|
||||
Reference in New Issue
Block a user