There is a demo attached to this component this should help guide you implementation as it includes patterns for: