Updating page_size of DataTable dynamically using dcc Dropdown

How would I go about doing this?

When I try assigning the value of the dcc.Dropdown to the page_size. It doesn’t seem to work.

Sorry if that is too vague I’m trying right now to gather some info to give just thought if anyone knew an easy way they could share it thanks!