New lines or HTML in emptyStateDescription
Hi all
Is there any way to add line breaks in the emptyStateDescription? I've tried:
->emptyStateDescription( 'Line 1.' . PHP_EOL . 'Line 2.' ); but no joy. It'd be great if there was a way to pass in HTML.
->emptyStateDescription( 'Line 1.' . PHP_EOL . 'Line 2.' ); but no joy. It'd be great if there was a way to pass in HTML.
2 Replies
Solution
new HtmlString('html goes here')
, maybe?@awcodes Works, thanks!