Embed Common time range controls in iframe with dashboard

I am embedding a grafana dashboard in an iframe in a react js app and it works well. Now I would like to have the same common time range controls that I have on the grafana site, also embedded along with my iframe, so that I can select last 6 hours/last 5 minutes etc to change the range of my plots, but directly from my app.
Is this possible?
I can do a workaround by changing the from and to values inside the url if not, but it would be nice if I could embed the actual grafana time range controls instead of making my own.
Thank you.


Any Solution for this?