0.1.2 • Published 9 months ago

react-page-border v0.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
9 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

9 months ago

0.1.1

9 months ago

0.1.0

9 months ago

0.0.8

9 months ago

0.0.7

9 months ago

0.0.6

9 months ago

0.0.5

9 months ago

0.0.4

9 months ago

0.0.3

9 months ago

0.0.2

9 months ago

0.0.1

9 months ago