import React from 'react' type Props = { pluginName: string preferenceValues: any preferenceItems: any } import { formatPluginsName } from '@utils/converter' const PreferencePlugins = (props: Props) => { const { pluginName, preferenceValues, preferenceItems } = props return (
{formatPluginsName(pluginName)}
{preferenceItems .filter((x: any) => x.pluginName === pluginName) ?.map((e: any) => (
Setting: {e.preferenceName}
{e.preferenceDescription}
v.key === e.preferenceKey )[0]?.value } onChange={(event) => {}} >
))}
) } export default PreferencePlugins