[components] Change widget render parameter type.

Signed-off-by: ynizipli