升级Radio
This commit is contained in:
parent
8f284a0f21
commit
a6f6523101
|
@ -7,6 +7,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import React, { Component } from "react";
|
import React, { Component } from "react";
|
||||||
|
import Button from 'bee-button';
|
||||||
import Table from "../../src";
|
import Table from "../../src";
|
||||||
|
|
||||||
const renderContent = (value, row, index) => {
|
const renderContent = (value, row, index) => {
|
||||||
|
@ -167,7 +168,7 @@ class Demo15 extends Component {
|
||||||
let cols = this.state.colFlag?columns:columns1;
|
let cols = this.state.colFlag?columns:columns1;
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<button onClick={this.onChange}>change列</button>
|
<Button onClick={this.onChange} colors="secondary" style={{marginBottom:'8px'}}>change列</Button>
|
||||||
<Table columns={cols} data={data} bordered/>
|
<Table columns={cols} data={data} bordered/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import React, { Component } from "react";
|
import React, { Component } from "react";
|
||||||
import { Radio } from "tinper-bee";
|
import Radio from "bee-radio";
|
||||||
|
|
||||||
import Table from "../../src";
|
import Table from "../../src";
|
||||||
import singleSelect from "../../src/lib/singleSelect.js";
|
import singleSelect from "../../src/lib/singleSelect.js";
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -56,7 +56,7 @@
|
||||||
"bee-loading": "^1.0.9",
|
"bee-loading": "^1.0.9",
|
||||||
"bee-locale": "0.0.14",
|
"bee-locale": "0.0.14",
|
||||||
"bee-menus": "^2.0.6",
|
"bee-menus": "^2.0.6",
|
||||||
"bee-radio": "^2.0.8",
|
"bee-radio": "2.0.10",
|
||||||
"bee-select": "^2.0.11",
|
"bee-select": "^2.0.11",
|
||||||
"classnames": "^2.2.5",
|
"classnames": "^2.2.5",
|
||||||
"component-classes": "^1.2.6",
|
"component-classes": "^1.2.6",
|
||||||
|
|
Loading…
Reference in New Issue