mirror of
https://github.com/johndoe6345789/low-code-react-app-b.git
synced 2026-04-25 14:14:57 +00:00
27 lines
810 B
TypeScript
27 lines
810 B
TypeScript
import { NextJsConfig } from '@/types/project'
|
|
import { NextJsApplicationCard } from '@/components/project-settings/NextJsApplicationCard'
|
|
import { NextJsFeaturesCard } from '@/components/project-settings/NextJsFeaturesCard'
|
|
|
|
interface NextJsConfigTabProps {
|
|
nextjsConfig: NextJsConfig
|
|
onNextjsConfigChange: (config: NextJsConfig | ((current: NextJsConfig) => NextJsConfig)) => void
|
|
}
|
|
|
|
export function NextJsConfigTab({
|
|
nextjsConfig,
|
|
onNextjsConfigChange,
|
|
}: NextJsConfigTabProps) {
|
|
return (
|
|
<div className="max-w-2xl space-y-6">
|
|
<NextJsApplicationCard
|
|
nextjsConfig={nextjsConfig}
|
|
onNextjsConfigChange={onNextjsConfigChange}
|
|
/>
|
|
<NextJsFeaturesCard
|
|
nextjsConfig={nextjsConfig}
|
|
onNextjsConfigChange={onNextjsConfigChange}
|
|
/>
|
|
</div>
|
|
)
|
|
}
|