Reactjs - setting inline styles correctly

后端 未结 4 656
日久生厌
日久生厌 2020-12-13 01:30

I am trying to use Reactjs with a kendo splitter. The splitter has a style attribute like

style=\"height: 100%\"

With Reactjs, if I have un

4条回答
  •  心在旅途
    2020-12-13 02:10

    You need to do this:

    var scope = {
         splitterStyle: {
             height: 100
         }
    };
    

    And then apply this styling to the required elements:


    In your code you are doing this (which is incorrect):

    Where height = 100.

提交回复
热议问题