Questions tagged [react-toolbox]

89 questions
9
votes
1 answer

Cannot find module precss

I was trying to get react-toolbox to run. Got the error 'Cannot find module precss' but this is the same code I picked up from the site. Am I missing out on something? postcss.config.js module.exports = { plugins: [ require('precss'), …
Aseem Upadhyay
  • 4,279
  • 3
  • 16
  • 36
7
votes
1 answer

How to get value datapicker in react toobox custom?

How can I get the value of datapicker in react toobox? I am using custom components. I am using 2 components first one is called InputDateCustom.js with the code below: import DatePicker from 'react-toolbox/lib/date_picker/DatePicker'; import React,…
6
votes
1 answer

reactjs-toolbox radiobutton group does not change

in my react app I use radio buttons with this code: { …
Felix
  • 5,452
  • 12
  • 68
  • 163
6
votes
1 answer

Using webpack to prepend variables for SCSS

Webpack amateur here... I'm trying to incorporate a theme.scss file to customize the theme used by React Toolbox by following the directions specified here, namely: If you are using Webpack as module bundler, you are probably using sass-loader as…
user1498814
  • 73
  • 1
  • 5
5
votes
2 answers

Reload Live Image without Flickering in React

I would like to reload an image at a static URL indefinitely in React. Through some searching I arrived at the below less than ideal solution. It works, but I would like to remove the flickering of the image loading. I realize the issues is that the…
Rob Cannon
  • 384
  • 4
  • 16
4
votes
0 answers

React Toolbox and Webpack 2

I am building a react app based on https://github.com/ctrlplusb/react-universally, which is using Webpack 2. For my UI components I want to use http://react-toolbox.com. I had the webpack setup working for react-toolbox with Webpack 1 in another…
m0c
  • 2,180
  • 26
  • 45
4
votes
2 answers

Webpack not loading SCSS with react-toolbox

I am trying to bootstrap a new react app and use the react-toolbox library and webpack. I am unable to get both react-toolbox's styles and my own app's styles to load. The way I'm used to importing scss files is from the react files/views/components…
alsoALion
  • 449
  • 1
  • 5
  • 17
3
votes
2 answers

React-Toolbox checkboxes inline

I'm currently facing a problem with react-toolbox-checkboxes https://github.com/react-toolbox/react-toolbox/tree/dev/components/checkbox while trying to display them inline like this: But all I can do is displaying them like this: Code looks like…
Nocebo
  • 1,927
  • 3
  • 15
  • 26
3
votes
1 answer

How to import file for TypeScript definition file

I am trying to update the TypeScript definition file for react-toolbox found here I have fixed a number of compile errors and now I have: ERROR in /myproject/typings/main/definitions/react-toolbox/index.d.ts (1047,8): error TS2664: Invalid module…
3
votes
3 answers

React-toolbox how to include the styles correctly

I am trying to use the date picker from react-toolbox. Here is my webpack config: { test: /\.css$/, loader: ExtractTextPlugin.extract('style-loader', 'css-loader!cssnext-loader') },{ test: /\.scss$/, loaders:…
Cheng
  • 16,824
  • 23
  • 74
  • 104
3
votes
1 answer

Can react-toolbox be rendered from the serverside from a isomorphic/universal app?

http://react-toolbox.com/ Looks really good, but they have a sass dependency. Is there a way to use react-toolbox in a isomorphic/universal app and render them from the server, or are the sass dependencies somehow declared within the components?…
Vlad Nicula
  • 3,577
  • 6
  • 32
  • 50
2
votes
1 answer

Add "%" suffix to value displayed inside react-toolbox input number

I have a react-toolbox input component with type "number" as following: It displays 2.68 So, is it possible to display it as…
Kartal Erkoc
  • 290
  • 1
  • 6
  • 12
2
votes
0 answers

How to apply Theme in React-Toolbox 2 when using Create React App

I've spun up a new project using create-react-app and have been successful in getting react-toolbox 2.0.0-beta.6 to work with default theme. Similarly, I've been able to apply global theme changes by setting "customProperties" in my package.json.…
Blaine Garrett
  • 1,286
  • 15
  • 23
2
votes
1 answer

Redux Form: Display a custom component depending field value

I have a FieldArray: Data: [ {name:'xxx', url:'www.xxx.com', isRepeat: true}, {name:'yyy', url:'', isRepeat: false}, {name:'zzz', url:'', isRepeat: false} ] I need to display the…
2
votes
1 answer

How to have proper bidirectional binding on ClojureScript with Reagent?

I'm writing a wrapper for React Toolbox for ClojureScript/Reagent called Reagent Toolbox. In React Toolbox, there's an input component that's used like this:
Pablo Fernandez
  • 279,434
  • 135
  • 377
  • 622
1
2 3 4 5 6