jeanverster / chakra-ui-steps

Steps component designed to work seamlessly with Chakra UI
https://chakra-ui-steps.vercel.app
390 stars 44 forks source link

TypeError: Cannot read properties of undefined (reading 'width') chakra-ui-steps #100

Closed ahsaanshuja closed 1 year ago

ahsaanshuja commented 1 year ago
Screenshot 2022-12-10 at 2 44 56 AM

I have just installed the package and integrated the code after that receiving this error

ahsaanshuja commented 1 year ago

this issues was solved by doing this

`import { ChakraProvider, extendTheme } from '@chakra-ui/react'; import { StepsStyleConfig as Steps } from 'chakra-ui-steps';

const theme = extendTheme({ components: { Steps, }, });

export const App = () => { return (

); };`