'use client' import type { FC } from 'react' import React from 'react' type Props = { value: string[] // plugin ids onChange: (value: string[]) => void } const PluginsPicker: FC = ({ value, onChange, }) => { const hasSelected = value.length > 0 return (
{hasSelected ? (
Selected plugins will not auto-update
) : (
Only selected plugins will auto-update. No plugins are currently selected, so no plugins will auto-update.
)}
) } export default React.memo(PluginsPicker)