@knotel/cinderblock
Advanced tools
Knotel branding approved UI components and assets for use alongside of the Priceline Design System.
Weekly downloads
Readme
Knotel branding approved UI components and assets for use alongside of the Priceline Design System.
$ yarn add cinderblock
Pass the theme object from cinderblock
to the <ThemeProvider />
component from pcln-design-system
and Knotel styling will be applied to all of the pcln-design-system
child components.
import React from 'react'
import { theme } from 'cinderblock'
import { ThemeProvider } from 'pcln-design-system'
const App = () => (
<ThemeProvider theme={theme}>
<Page />
</ThemeProvider>
)
The assets
directory is not included as part of the package build, but it can be a useful place to store commonly used branding assets such as favicons and logos.