mirror of
https://github.com/oceanprotocol/market.git
synced 2024-07-01 06:11:43 +02:00
21 lines
355 B
TypeScript
21 lines
355 B
TypeScript
import React from 'react'
|
|
|
|
import styles from './SearchFilterSection.module.css'
|
|
|
|
const SearchFilterSection = ({
|
|
title,
|
|
children
|
|
}: {
|
|
title?: string
|
|
children: React.ReactNode
|
|
}) => {
|
|
return (
|
|
<div className={styles.filterSection}>
|
|
{title ? <h4>{title}</h4> : null}
|
|
{children}
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export default SearchFilterSection
|