1.0.0 • Published 2 years ago
@vtaits/react-fake-browser-ui v1.0.0

@vtaits/react-fake-browser-ui
UI elements for creating fake browsers
Installation
yarn add @vtaits/react-fake-browser-ui styled-componentsExamples
Usage
NavBar- navigation component (address input + buttons) only;FakeBrowser- navigation component + children;
import {
FakeBrowser,
NavBar,
} from '@vtaits/react-fake-browser-ui';Props
| Name | Type |
|---|---|
| canMoveForward | boolean |
| canMoveBack | boolean |
| currentAddress | string |
| refresh | () => void |
| goBack | () => void |
| goForward | () => void |
| goTo | (nextAddress: string) => void |