Open daveredfern opened 8 years ago
It would be great to be able to pass data into a pattern. So we could have something like:
<?php $data = array( 'text' => 'We have a special offer today!' ); printPattern('component/alert/base', $data); ?>
Not entirely sure how this would work but would save lots of copying and pasting.
It would be great to be able to pass data into a pattern. So we could have something like:
Not entirely sure how this would work but would save lots of copying and pasting.