Browse Source

react-landing/src: exported types from index

pull/3/head
remorses 1 year ago
parent
commit
710fe948d5
2 changed files with 44 additions and 23 deletions
  1. +6
    -1
      react-landing/src/TopBanner.tsx
  2. +38
    -22
      react-landing/src/index.tsx

+ 6
- 1
react-landing/src/TopBanner.tsx View File

@ -9,7 +9,12 @@ export type TopBannerProps = {
bullet?: ReactNode
} & PageContainerProps
export function TopBanner({ heading = '', cta = '', bullet = '', ...rest }) {
export function TopBanner({
heading = '',
cta = '',
bullet = '',
...rest
}: TopBannerProps) {
return (
<PageContainer py='10px' {...rest}>
<Stack

+ 38
- 22
react-landing/src/index.tsx View File

@ -1,30 +1,46 @@
// molecules
export { Hero, HeroProps } from './Hero'
export { Feature, FeatureProps } from './Feature'
export { HowItWorks, HowItWorksProps } from './HowItWorks'
export { FeaturesList, FeaturesListProps } from './FeaturesList'
export { FeaturesGrid, FeaturesGridProps } from './FeaturesGrid'
export { NavBar, NavBarProps } from './NavBar'
export { Footer, FooterProps } from './Footer'
export { SectionTitle, SectionTitleProps } from './SectionTitle'
export { TestimonialsLogos, TestimonialsLogosProps } from './TestimonialsLogos'
export { Hero } from './Hero'
export type { HeroProps } from './Hero'
export { Feature } from './Feature'
export type { FeatureProps } from './Feature'
export { HowItWorks } from './HowItWorks'
export type { HowItWorksProps } from './HowItWorks'
export { FeaturesList } from './FeaturesList'
export type { FeaturesListProps } from './FeaturesList'
export { FeaturesGrid } from './FeaturesGrid'
export type { FeaturesGridProps } from './FeaturesGrid'
export { NavBar } from './NavBar'
export type { NavBarProps } from './NavBar'
export { Footer } from './Footer'
export type { FooterProps } from './Footer'
export { SectionTitle } from './SectionTitle'
export type { SectionTitleProps } from './SectionTitle'
export { TestimonialsLogos } from './TestimonialsLogos'
export type { TestimonialsLogosProps } from './TestimonialsLogos'
export { LandingProvider } from './LandingProvider'
export { TopBanner, TopBannerProps } from './TopBanner'
export { Faqs, FaqsProps } from './Faqs'
export { Banner, BannerProps } from './Banner'
export { Pricing, PricingProps } from './Pricing'
export { Countdown, CountdownProps } from './Countdown'
export {
TestimonialsTweets,
TestimonialsTweetsProps,
} from './TestimonialsTweets'
export { TopBanner } from './TopBanner'
export type { TopBannerProps } from './TopBanner'
export { Faqs } from './Faqs'
export type { FaqsProps } from './Faqs'
export { Banner } from './Banner'
export type { BannerProps } from './Banner'
export { Pricing } from './Pricing'
export type { PricingProps } from './Pricing'
export { Countdown } from './Countdown'
export type { CountdownProps } from './Countdown'
export { TestimonialsTweets } from './TestimonialsTweets'
export type { TestimonialsTweetsProps } from './TestimonialsTweets'
// atoms
export { Heading } from './Heading'
export { EmailForm, MailchimpForm, EmailFormProps } from './EmailForm'
export { EmailForm, MailchimpForm } from './EmailForm'
export type { EmailFormProps } from './EmailForm'
export { Subheading } from './Subheading'
export { Button } from './Button'
export { GumroadButton, GumroadButtonProps } from './GumroadButton'
export { Bullet, BulletProps } from './Bullet'
export { Divider, DividerProps } from './Divider'
export { GumroadButton } from './GumroadButton'
export type { GumroadButtonProps } from './GumroadButton'
export { Bullet } from './Bullet'
export type { BulletProps } from './Bullet'
export { Divider } from './Divider'
export type { DividerProps } from './Divider'
export * from './layout'

Loading…
Cancel
Save