📜  巧克力 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:04:09.639000             🧑  作者: Mango

代码示例2
import React, { Component } from 'react'
import Select from 'react-select'

const options = [
  { value: 'chocolate', label: 'Chocolate' },
  { value: 'strawberry', label: 'Strawberry' },
  { value: 'vanilla', label: 'Vanilla' }
]

const MyComponent = () => (