Hello, I am new to surface and I am making a custom component.
I have a data and I want to set its initial value to the value of a prop if it was set.
Something like this:
prop open_by_default, :boolean, default: false
data is_open, :boolean, default: @open_by_default
I did a search and I could not find if this sort of question was already asked.
Thanks in advance.