docs tips expose component function