i want to make a component with 2 buttons (yes an no). in
component definition I have a variable named function.
how can i send in this variable the name of the function and
when i click yes to do that function ?
i don't know how to explain this better. hope you'll