To access custom component data within the builder you might want to use React Context or BuilderStoreContext to set the value into a context that can be accessed in the builder like shown in the below forum post
Let us know if you have any further questions. Thank you!