How to use the react-feather.Box function in react-feather

To help you get started, we’ve selected a few react-feather examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github meetalva / alva / packages / components / src / link-icon / index.tsx View on Github external
export const LinkIcon: React.SFC = props => {
	const IconImage = Icon.hasOwnProperty(props.icon) ? Icon[props.icon] : Icon.Box;

	return (
		
			
			
			{props.children}
		
	);
};
github meetalva / alva / packages / components / src / teaser / teaser.tsx View on Github external
export const Teaser: React.SFC = props => {
	const IconImage = Icon.hasOwnProperty(props.icon) ? Icon[props.icon || 'Box'] : Icon.Box;

	return (
		
			
			
			{props.headline}
			
			
				{props.description}
			
		
	);
};