Select the shape layer in the Layer panel. Right-click on the selection and select Export as (or go to File > Export > Export As.) Choose SVG format. Click Export.