Put the butter and flour into a mixing bowl and rub the butter into the flour until the mixture resembles bread crumbs.
Stir in the sugar, egg yolks, vanilla and apricots and mix to a soft dough.
Form into a ball, wrap in cling film and chill for 30 minutes.
Heat the oven to 200°C (180° fan) 400°F gas 6.
Line 2 large baking trays with non-stick baking paper.
Roll out the dough on a lightly floured surface, about 5mm thick.
Cut into about 20 rounds with a cookie cutter and place on the baking trays.
Bake for 10-12 minutes until lightly golden.
Cool on the baking trays for a few minutes, then place on a wire rack to cool completely.