You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1234567891011121314151617181920212223
  1. import type { FC } from 'react'
  2. import PluginItem from '../../plugin-item'
  3. import type { PluginDetail } from '../../types'
  4. type IPluginListProps = {
  5. pluginList: PluginDetail[]
  6. }
  7. const PluginList: FC<IPluginListProps> = ({ pluginList }) => {
  8. return (
  9. <div className='pb-3'>
  10. <div className='grid grid-cols-2 gap-3'>
  11. {pluginList.map(plugin => (
  12. <PluginItem
  13. key={plugin.plugin_id}
  14. plugin={plugin}
  15. />
  16. ))}
  17. </div>
  18. </div>
  19. )
  20. }
  21. export default PluginList