Skip to content

theme props not available for the childs #57

@smkamranqadri

Description

@smkamranqadri

I used BootstrapProvider like this

Provider store={this.props.store}>
        <IntlProvider locale={language}>
          <ThemeProvider theme={defaultTheme}>
          <BootstrapProvider>
            <Container>

And not able to get the theme prop in Container Component.

export const Container = styled(div)(
  (props) => {
    console.log('props', props)
    return css`
    height: 100vh;
  `}
);

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions