get_props function

Extract prop