feat(SW-213): Use camelCase as prop
This commit is contained in:
@@ -7,10 +7,10 @@ import styles from "./textcols.module.css"
|
||||
|
||||
import type { TextColsProps } from "@/types/components/content/blocks"
|
||||
|
||||
export default function TextCols({ text_cols }: TextColsProps) {
|
||||
export default function TextCols({ textCols }: TextColsProps) {
|
||||
return (
|
||||
<div className={styles.columns}>
|
||||
{text_cols.columns.map((col) => {
|
||||
{textCols.columns.map((col) => {
|
||||
return (
|
||||
<div key={col.title} className={styles.column}>
|
||||
<Subtitle>{col.title}</Subtitle>
|
||||
|
||||
Reference in New Issue
Block a user