Add useInferStyle property to use infer styles