pass options to Component.getState