0.1.2 • Published 10 months ago

react-page-border v0.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

react-page-border

react-page-border is a react component that adds rounded borders to the entire page.

Features

  • SSR support
  • TypeScript support

Installation

npm i --save react-page-border

Usage

import PageBorder from "react-page-border";

export default function App(): JSX.Element {
  return (
    <PageBorder borderColor="blue" borderSize={12} roundSize={12}>
      hoge
    </PageBorder>
  );
}

Props

ReturnTypeDescription
borderColorstringRequired.
borderSizestring or numberRequired.
borderStyleCSSProperties
childrenReactNodeRequired.
classNamestring
marginSizestring or number
roundSizestring or numberRequired.
styleCSSProperties
zIndexnumber
0.1.2

10 months ago

0.1.1

10 months ago

0.1.0

10 months ago

0.0.8

10 months ago

0.0.7

10 months ago

0.0.6

10 months ago

0.0.5

10 months ago

0.0.4

10 months ago

0.0.3

10 months ago

0.0.2

10 months ago

0.0.1

10 months ago