1.0.4 • Published 2 years ago

tobenski-react v1.0.4

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

Tobenski React Components

This is Tobenski's React Components.

Install

npm install tobenski-react

Usage

Ribbon

import { Ribbon } from "tobenski-react"
<Ribbon show size={5} position='TopLeft' bgColor='yellow' textColor='white'>Test</Ribbon>

Parent Container must be:

Posistion: relative;

Cookiebot

import { CookieBot } from "tobenski-react"

in Rootlayout or app.ts

const domainGroupId = ''
<CookieBot 
    domainGroupId={domainGroupId}
    language='da'
    WidgetEnabled
    WidgetPosition='top-right' // top-left | top-right | bottom-left | bottom-right
    />

For CookieDeclaration Page:

import { CookieDeclaration } from "tobenski-react"

in cookies page:

const domainGroupId = ''
<div id="cookieContainer"></div>
<CookieDeclaration domainGroupId={domainGroupId} language='da' id="cookieContainer" />
1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago