You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are trying to customize the React component IgrGrid and add it to a library to be shared across various projects.
The library is built with Vite v5.4.2 using the following configuration:
, and React/React-DOM versions ^17.0.2 and igniteui-react~18.6.1.
The issue we are encountering is that if we export only the customized component with export { default as IgrGrid } from "./components/dataentry/infragistics/grid/IgrGrid"; , the table does not render when passing in IgrColumns. However, if we export IgrColumn from the components library and pass that in it works as expected.
We would like to ask for clarification on why this is necessary and if you have any insights on this matter.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
We are trying to customize the React component IgrGrid and add it to a library to be shared across various projects.
The library is built with Vite
v5.4.2
using the following configuration:, the following tsconfig
, and React/React-DOM versions
^17.0.2
and igniteui-react~18.6.1
.The issue we are encountering is that if we export only the customized component with export { default as IgrGrid } from
"./components/dataentry/infragistics/grid/IgrGrid";
, the table does not render when passing in IgrColumns. However, if we export IgrColumn from the components library and pass that in it works as expected.We would like to ask for clarification on why this is necessary and if you have any insights on this matter.
Beta Was this translation helpful? Give feedback.
All reactions