Create a block icon depending in the block class
Usage
block_icon(x, ...)
# Default S3 method
block_icon(x, ...)
# S3 method for class 'data_block'
block_icon(x, ...)
# S3 method for class 'transform_block'
block_icon(x, ...)
# S3 method for class 'plot_block'
block_icon(x, ...)
Arguments
- x
Object inheriting from "block"
.
- ...
For generic consistency.