by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 08:49
    vercel[bot] commented #1098
  • 08:49
    vercel[bot] commented #1098
  • 08:49
    SevenOutman synchronize #1098
  • 08:49

    SevenOutman on form-control-props

    style: Fix code styling with pr… (compare)

  • 08:45
    SevenOutman review_requested #1098
  • 08:45
    vercel[bot] commented #1098
  • 08:45
    SevenOutman labeled #1098
  • 08:45
    SevenOutman labeled #1098
  • 08:45
    SevenOutman opened #1098
  • 08:21

    SevenOutman on form-control-props

    fix(ts): Split FormControlAccep… (compare)

  • May 31 12:15
    mrfambo closed #1077
  • May 30 16:42
    eDubrovsky commented #1088
  • May 30 11:45
    eDubrovsky commented #1088
  • May 30 08:58
    hypo-thesis commented #1097
  • May 30 04:34

    simonguo on master

    docs: update code style (compare)

  • May 30 04:09
    simonguo commented #1097
  • May 29 18:52
    hypo-thesis commented #1097
  • May 29 18:34
    hypo-thesis edited #1097
  • May 29 18:28
    hypo-thesis opened #1097
  • May 29 12:49

    simonguo on master

    fix: update code style (compare)

Simon Guo
@simonguo
@/all 为更畅通的交流,我们把 rsuite gitter 的中文与英文频道分开,这个频道将作为中文频道。
eDubrovsky
@eDubrovsky
Hi! maybe somebody has a working example of dynamic theme switching when I use create-react-app?
Simon Guo
@simonguo
@eDubrovsky This is a Chinese channel. You can discuss it in the English channel. https://gitter.im/rsuite/rsuite
Gao Xin
@beiyanpiki
请问一下我根据这个链接 => https://rsuitejs.com/guide/use-with-create-react-app 尝试更改主题参数 但是less报错.
```

Failed to compile.

./node_modules/rsuite/lib/styles/index.less (./node_modules/css-loader/dist/cjs.js??ref--6-oneOf-7-1!./node_modules/postcss-loader/src??postcss!./node_modules/less-loader/dist/cjs.js??ref--6-oneOf-7-3!./node_modules/rsuite/lib/styl
es/index.less)
ValidationError: Invalid options object. Less Loader has been initialized using an options object that does not match the API schema.

  • options has an unknown property 'source'. These properties are valid:
    object { lessOptions?, prependData?, appendData?, sourceMap? }
Gao Xin
@beiyanpiki
额...已经通过croco和craco-less解决了问题
Simon Guo
@simonguo
OK
Gao Xin
@beiyanpiki
请问一下,我需要渲染一个不定列数的表格, rsuite里我无法像普通表格一样处理数据, 我应该怎么编写代码.
Gao Xin
@beiyanpiki
大概像这种例子
const fakeJson = {
    problems: [
        {
            id: 1,
            name: 'A',
        },
        {
            id: 2,
            name: 'B',
        },
        // ...
        {
            id: 10,
            name: 'J',
        },
    ],
    user: [
        {
            id: 1,
            name: 'User A',
            score: [
                {
                    id: 1,
                    score: 100,
                },
                {
                    id: 2,
                    score: 95,
                },
                // ...
                {
                    id: 10,
                    score: 84,
                },
            ],
        },
        {
            id: 2,
            name: 'user B',
            score: [
                {
                    id: 1,
                    score: 100,
                },
                {
                    id: 2,
                    score: 95,
                },
                // ...
                {
                    id: 10,
                    score: 84,
                },
            ],
        },
    ],
};
render() {
        const verdictArr = [];
        for (let problem of fakeJson.problems) {
            verdictArr.push(
                <Column width={75} align='center'>
                    <HeaderCell>{problem.name}</HeaderCell>
                                         {/*不知道这里怎么写了...........*/} 
                    <Cell dataKey='???'/>
                </Column>,
            );
        }
        return (
            <Table
                data={fakeJson.user}
            >
                <Column width={75} align='center'>
                    <HeaderCell>#</HeaderCell>
                    <Cell dataKey='id'/>
                </Column>

                <Column flexGrow align='left'>
                    <HeaderCell>Name</HeaderCell>
                    <Cell dataKey='name'/>
                </Column>
                {verdictArr}
            </Table>
        );
    }
Gao Xin
@beiyanpiki
我傻了 dataKey传下标自定义列就行了... ○| ̄|_ 打扰了
Mohammed M R Zourob
@dash7ou
hi :)
i love this UI so much..
Simon Guo
@simonguo
@dash7ou thanks