1.0.0 • Published 10 months 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-components
Examples
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 |