Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
}
Avatar.propTypes = {
speaker: PropTypes.shape({
image: PropTypes.string,
name: PropTypes.string,
github: PropTypes.string,
twitter: PropTypes.string,
intro: PropTypes.oneOfType([
PropTypes.string,
React.PropTypes.element
])
})
};
Avatar = Radium.Enhancer(Avatar);
export default Avatar;
title="Follow us on Twitter"
right={55}
/>
);
}
}
Home = Radium.Enhancer(Home);
export default Home;
<p style="{STYLES.p}">
The Golden Ticket. Super Bowl tickets. Backstage passes to T Swizzle. React Rally tickets. High demand, limited supply.
</p>
<p style="{STYLES.p}">
Tickets are now on sale. There are limited tickets available, so don't procrastinate, and miss out!
</p>
<p style="{STYLES.p}">
Buy Tickets
</p>
);
}
}
var Tickets = Radium.Enhancer(TicketsComponent)
export default Tickets
class ButtonLink extends Component {
render() {
return (
<a href="{this.props.href}">
{this.props.children}
</a>
);
}
}
ButtonLink.propTypes = {
href: PropTypes.string.isRequired,
style: PropTypes.object
};
ButtonLink = Radium.Enhancer(ButtonLink);
export default ButtonLink;