0.1.2 • Published 8 months ago

react-page-border v0.1.2

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

8 months ago

0.1.1

8 months ago

0.1.0

8 months ago

0.0.8

8 months ago

0.0.7

8 months ago

0.0.6

8 months ago

0.0.5

8 months ago

0.0.4

8 months ago

0.0.3

8 months ago

0.0.2

8 months ago

0.0.1

8 months ago