---
title: "Discussion on \"Higher Order Component (HOC) - promoted tag\" | Hashnode"
description: "Discussion on \"Higher Order Component (HOC) - promoted tag\". 🚀 Higher Order Components\n\ninput is component and output is (modified) component\n\n\n\n// FileName: 📂Restaurant Card\nconst RestaurantCard = ({ data }) => {\n....\n....\n}\nexport const withPromotedLabel = (RestaurantCard) => {\n    return (props) => {\n    ..."
url: "https://hashnode.com/posts/higher-order-component-hoc-promoted-tag/66f03021e88beefc347c9e00"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Higher Order Component (HOC) - promoted tag](https://namaste-react.hashnode.dev/higher-order-component-hoc-promoted-tag?utm_source=hashnode&utm_medium=feed)

🚀 Higher Order Components input is component and output is (modified) component // FileName: 📂Restaurant Card const RestaurantCard = ({ data }) => { .... .... } export const withPromotedLabel = (RestaurantCard) => { return (props) => { ...

Sep 22, 2024 · 1 min read · namaste-react.hashnode.dev  
Read the article

-   [#higher-order-components](https://hashnode.com/tag/higher-order-components)
-   [#higher-order-functions](https://hashnode.com/tag/higher-order-functions)
-   [#reactjs](https://hashnode.com/tag/reactjs)

## Written by

[Ayush Kumar](https://hashnode.com/@krayush1109)

@krayush1109 · Bhopal

  
[View profile](https://hashnode.com/@krayush1109)

MERN Stack Developer

A passionate MERN Stack Developer from India I am a full stack web developer with experience in building responsive websites and applications using JavaScript frameworks like ReactJS, NodeJs, Express etc.,

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
