add required prop for component