[docs] Use variable in component example
Update the components documentation to refer to variables instead of hardcoded values. This is a best practice generally.
Update the components documentation to refer to variables instead of hardcoded values. This is a best practice generally.