Browse Source

react-landing/src/Footer: types

pull/3/head
remorses 1 year ago
parent
commit
3e6d6adfc7
1 changed files with 8 additions and 3 deletions
  1. +8
    -3
      react-landing/src/Footer.tsx

+ 8
- 3
react-landing/src/Footer.tsx View File

@ -1,12 +1,17 @@
import { Box, Stack, Text } from '@chakra-ui/core'
import React, { ReactNode } from 'react'
import { PageContainer } from './layout'
import { PageContainer, PageContainerProps } from './layout'
export type FooterProps = {
columns: { [k: string]: ReactNode[] }
businessName?: string
} & PageContainerProps
export function Footer({
columns = {} as { [k: string]: ReactNode[] },
columns = {},
businessName = 'Monster Inc.',
...rest
}) {
}: FooterProps) {
return (
<PageContainer py='60px' minHeight='200px' {...rest}>
<Stack

Loading…
Cancel
Save