import { create , tsx } from '@dojo/framework/core/vdom' ; import icache from '@dojo/framework/core/middleware/icache' ; import Text from '@dojo/widgets/text' ; import Example from '../../Example' ; const factory = create ( { icache } ) ; export default factory ( function Truncated ( ) { return ( < Example > < div styles = { { width : '175px' } } > < Text truncated > Long text that is truncated < /Text> < /div> < /Example>); } ) ;