Integrate Bootstrap & react-picker

I am struggling for integration of Frontity with react-picker and boostrap.
Can Frontity be customizable with those or i’m just waisting my time in trying this route?

1 Like

You can use both bootstrap or react-picker without any problem with Frontity.

The only problem right now is how to import the CSS using Emotion.

We are going to work on a solution as stated here:

Something like this:

import { Global, css } from 'frontity';
import Picker from 'react-picker';
import pickerStyles from "react-picker/css/picker.css";

const MyTheme = () => (
  <div>
    <Global styles={css(pickerStyles)} />
    <Picker />
  </div>
);

We’ll let you know once it’s ready :slight_smile:

3 Likes

PR on progress: https://github.com/frontity/frontity/pull/133

@Ucan the PR was already merged in Frontity v1.

Could you please update using

> npm update

and let us know if it works?