2.0.4 • Published 4 years ago

@availity/gatsby-theme-core v2.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

Gatsby Theme Core

Package containing base components and plugins for Availity Themed Gatsby Sites

Gatsby Plugins Included

Components Included

TopNavigation

Contains Top Navigation Component rendered at the top of the page

Props

Prop Nametyperequireddescription
navItemsarraytrueList of nav items to render at the top right of the page
pathnamestringtrueCurrent pathname of the page

navItems object structure:

{
  "value": "/availity-react",
  "text": "Components"
}

Usage

import { TopNavigation } from '@availity/gatsby-theme-core';

// render
<TopNavigation
 navItems=[{
  value: "/availity-react",
  text: "Components"
}]
  pathname="/availity-react/components/app-icon"
/>

Layout

The base layout that should be the first thing on each page. Will contain all the proper site metadata and formatting for height adjustments

Props

N/A

Usage

import { Layout } from '@availity/gatsby-theme-core';

// render
<Layout>
  <TopNavigation />
  <PageContent />
</Layout>;
2.0.4

4 years ago

2.0.3

4 years ago

2.0.2

4 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.2.12

5 years ago

1.2.11

5 years ago

1.2.10

5 years ago

1.2.9

5 years ago

1.2.8

5 years ago

1.2.7

5 years ago

1.2.6

5 years ago

1.2.5

5 years ago

1.2.4

5 years ago

1.2.3

5 years ago

1.2.2

5 years ago