Added more types

This commit is contained in:
2023-09-03 00:09:44 +02:00
parent a83cc7d8c6
commit ff63fa888b
12 changed files with 1490 additions and 1473 deletions

View File

@@ -8,6 +8,7 @@ import {
} from "../../tina/__generated__/types";
import { tinaField } from "tinacms/dist/react";
import { Template } from "tinacms";
import { PageBlockFunction } from "../blocks-renderer";
export const Feature = ({
featuresColor,
@@ -49,7 +50,7 @@ export const Feature = ({
);
};
export const Features = ({ data }: { data: PageBlocksFeatures }) => {
export const Features: PageBlockFunction<PageBlocksFeatures> = ({ data }) => {
return (
<Section color={ data.color }>
<Container