import { create , tsx } from '@dojo/framework/core/vdom' ; import Icon from '@dojo/widgets/icon' ; import Example from '../../Example' ; const factory = create ( ) ; export default factory ( function Basic ( ) { return ( < Example > < Icon type = "leftIcon" altText = "alt text" / > < /Example>); } ) ;