Just to be safe, fabric shouldn't be stored directly ON wood. It needs a barrier. With regular shelves, paint works. In fine furniture, you can use non-adhesive shelf paper, preferably acid-free OR a thick layer of muslin - that's what I would do - cheaper and less trouble than acid-free paper to find - and you can use the muslin for practice - won't care if it's stained.