How to creat a value prop