Added more types
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user