score:0
Accepted answer
the error message says that you call your <statuslayout>
component but without the mandatory props that you declared in its definition const statuslayout = styled.div<ordercardprops>
for example you could call it like:
<statuslayout
order={myorder}
client={someclient}
orderdetail={myorderdetail}
confirmation={someconfirmation}
shipping={theshipping}
payment={andthepayment}
>
// children...
</statuslayout>
that being said, since <statuslayout>
is just a styled div, all these props can only be used in the style definition (because styled-components will not pass them to the div), which is unlikely, so it is questionable why you need them.
Source: stackoverflow.com
Related Query
- No overload matches this call Error on TSX
- Typescript Routing Error - No overload matches this call
- No overload matches this call Error while using css-in-js in Typescript, Webpack, React Project
- Typescript error with styled-components and AS TS2769: No overload matches this call
- Typescript error - No overload matches this call
- Error on styled component instance with TypeScript: No overload matches this call
- I am new in typescript When I compile my code given No overload matches this call error
- here im trying to display a tab, onclicking a button where(list) is a default tab but im getting a masive error saying no overload matches this call
- React + TypeScript error: No overload matches this call
- No overload matches this call when usign styled-components
- MUI v5 - Extending Typography variant in TypeScript creates error "No overload matches this call"
- No overload matches this call in Cors TypeScript
- "No overload matches this call" error when setting up ContextApi & useReducer using Typescript
- Materia-ui and typescript No overload matches this call
- No overload matches this call in saga call effect
- Typescript Error using react-daterange-picker "No overload matches this call."
- React-Router + Typescript error while wrapping component with Router "No overload matches this call"
- React Onclick - No overload matches this call
- Typescript + React - No overload matches this call
- Why "No overload matches this call" TypeScript Error when using custom style in react-select?
- React typescript, useReducer TS2769: No overload matches this call
- TypeScript and styled-components: No overload matches this call
- Switching to mui5 sx prop from makeStyles- typescript error (no overload matches this call) passing object with position
- Getting "No overload matches this call" error when using useQuery with TypeScript
- Typescript papaparse No overload matches this call
- Typescript ConnectedRouter No overload matches this call
- No overload matches this call
- React query - useQuery() No overload matches this call
- No overload matches this call in TypeScript when concatenating arrays of different signatures
- Reducer Typescript Error: No overload matches this call
More Query from same tag
- Converting Array to Object so that ID always stays the same - React.js
- How should I emphasize and style one word from js array?
- Exclude a route for production using React Router within Create React App
- ReactJS cant update input value
- Debugging crazy React library line of code
- Header Only Appears On One Page
- Functional test with typescript of store change with async redux-thunk action
- core-js is large in bundle (using 62kB)
- Testing navigation in react with MemoryRouter after a button click (jest, enzyme)
- Is there a way to use `event.target` to target specific sub-components and alter their style?
- Getting undefined error when operating on a mocked window navigator object
- How to call a method once a component is rendered?
- Update component when prop value changes
- How to get table in Reactjs
- I want to run Graphql Apollo query with as many ids as possible
- Can i use the document object in React?
- Reactjs: remove array element, element states don't follow
- How to customize arrows styling to react-responsive carousel
- react native createbottomtabnavigator hide tab bar label
- Stopping props to be passed on to child with styled-components
- straight out of react.js.org and it crashes
- custom react hook returns default value in initial render
- Working example for Graph Toolkit using SharePoint spfx, React and Get component with template
- A filter for a search input in React.js
- create-react-app eslint issue due to higher level folder containing another app with node_modules in it
- Component not rerendering after setState in .then after Axios call
- Restructuring this JSON data to be tranformed to a barchart data
- Stop pagination on last page
- I need to set my Apollo Client Cache to its defaults
- Apollo Client (React): Handling unexpected errors