This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { useState } from 'react'; | |
| import { Button, ConfigProvider, Space, Select, Switch, theme } from 'antd'; | |
| const options = [ | |
| { value: 'jack', label: 'Jack' }, | |
| { value: 'lucy', label: 'Lucy' }, | |
| { value: 'Yiminghe', label: 'yiminghe' }, | |
| { value: 'disabled', label: 'Disabled', disabled: true }, | |
| ]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { useState } from 'react'; | |
| import { Button, ConfigProvider, Space, Select, Switch, theme } from 'antd'; | |
| const options = [ | |
| { value: 'jack', label: 'Jack' }, | |
| { value: 'lucy', label: 'Lucy' }, | |
| { value: 'Yiminghe', label: 'yiminghe' }, | |
| { value: 'disabled', label: 'Disabled', disabled: true }, | |
| ]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { useState } from 'react'; | |
| import { Button, ConfigProvider, Space, Select, Switch, theme } from 'antd'; | |
| const options = [ | |
| { value: 'jack', label: 'Jack' }, | |
| { value: 'lucy', label: 'Lucy' }, | |
| { value: 'Yiminghe', label: 'yiminghe' }, | |
| { value: 'disabled', label: 'Disabled', disabled: true }, | |
| ]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { useState } from 'react'; | |
| import { Button, ConfigProvider, Space, Select, Switch, theme } from 'antd'; | |
| const options = [ | |
| { value: 'jack', label: 'Jack' }, | |
| { value: 'lucy', label: 'Lucy' }, | |
| { value: 'Yiminghe', label: 'yiminghe' }, | |
| { value: 'disabled', label: 'Disabled', disabled: true }, | |
| ]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { useState } from 'react'; | |
| import { Button, ConfigProvider, Space, Select, Switch, theme } from 'antd'; | |
| const options = [ | |
| { value: 'jack', label: 'Jack' }, | |
| { value: 'lucy', label: 'Lucy' }, | |
| { value: 'Yiminghe', label: 'yiminghe' }, | |
| { value: 'disabled', label: 'Disabled', disabled: true }, | |
| ]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { Button, ConfigProvider, Space, Select, theme } from 'antd'; | |
| const options = [ | |
| { value: 'jack', label: 'Jack' }, | |
| { value: 'lucy', label: 'Lucy' }, | |
| { value: 'Yiminghe', label: 'yiminghe' }, | |
| { value: 'disabled', label: 'Disabled', disabled: true }, | |
| ]; | |
| function App() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { Button, Space, Select } from 'antd'; | |
| const options = [ | |
| { value: 'jack', label: 'Jack' }, | |
| { value: 'lucy', label: 'Lucy' }, | |
| { value: 'Yiminghe', label: 'yiminghe' }, | |
| { value: 'disabled', label: 'Disabled', disabled: true }, | |
| ]; | |
| function App() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Plot from 'react-plotly.js'; | |
| const layoutObj = { | |
| title: 'Color Dimensions', | |
| width: 800, | |
| height: 600, | |
| legend: { | |
| orientation: 'h', | |
| }, | |
| dragmode: 'select', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Plot from 'react-plotly.js'; | |
| const layoutObj = { | |
| title: 'Color Dimensions', | |
| width: 800, | |
| height: 600, | |
| legend: { | |
| orientation: 'h', | |
| }, | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Plot from 'react-plotly.js'; | |
| const layoutObj = { | |
| title: 'Color Dimensions', | |
| width: 800, | |
| height: 600, | |
| }; | |
| const dataArray = [ | |
| { // trace 0 |