© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Ravi Kumar
If you are passing it as props then use this.props.type else this.state.type . It will work