The passed properties in a component can give back the result in a block expression.
The following table lists down the different ways of using block params −
S.No. | BlockParam Ways & Description |
---|---|
1 | Return values from a component with yield The values can be returned from a component by using the yield option. |
2 | Supporting both block and non-block component usage You can support the usage of block and non block components from single component by using the hasBlock property. |
Previous Page:-Click Here