How to pass parameters from one component to another component?

I have “column-preview” component which contains list of columns with checkbox. I have another component “grid” which contains data table. Now depending upon checks in “column-preview” component I want hide/show columns. I have hidden column array in "column-preview’ component which I want to pass it to the “grid” component. How to pass it from one component to another component ?

Take a look at how parameters are passed to the blog-post-edit component from the blog-post component in this example: