2.0.1 • Published 2 years ago

@ludanin/hestia v2.0.1

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

@ludanin/hestia

Lightweight CSS grid with javascript utilities

NPM

Install

npm install --save @ludanin/hestia

Usage

import React from "react"
import "@ludanin/hestia/min.css"

const App: React.FC = () => (
  <>
    <AppHead />
    <AppBody>
      <div type="container">
        <div type="row">
          <div col="8" behind="2" smDown="10" smDownBehind="1">
            Column Content
          </div>
        </div>
      </div>
    </AppBody>
  </>
)

TypeScript type definitions

If you're using TypeScript it will be necessary to extend JSX HTML Attributes types according to the following snippet:

import { HestiaHTMLAttributes } from "@ludanin/hestia/types"

declare module "react" {
  // eslint-disable-next-line @typescript-eslint/no-empty-interface
  export interface HTMLAttributes<T> extends HestiaHTMLAttributes {}
}

const App: React.FC = () => (
  <>
    <AppBody />
  </>
)

License

MIT © ludanin

2.0.1

2 years ago

2.0.0

2 years ago

1.6.0

3 years ago

1.5.1

3 years ago

1.5.0

3 years ago

1.4.0

3 years ago

1.3.6

3 years ago

1.3.5

3 years ago

1.3.4

3 years ago

1.3.3

3 years ago

1.3.2

3 years ago

1.2.0

3 years ago

1.1.0

3 years ago

1.3.1

3 years ago

1.3.0

3 years ago

1.2.1

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago