react-papertrail
Papertrail component for react
Screenshot
Install
Usage
var React = ;var ReactDOM = ;var Papertrail = ;;ReactDOM;
Props
Property | Type | Description | Default value |
---|---|---|---|
height |
PropTypes.string |
Component height | 500px |
width |
PropTypes.string |
Component width | 100% |
token |
PropTypes.string.isRequired |
Papertrail token | null |
query |
PropTypes.string |
Papertrail query. | null |
systemID |
PropTypes.number or PropTypes.string |
System to search by ID or in most cases, by name | null |
groupID |
PropTypes.number |
Group to search | null |
follow |
PropTypes.bool |
Follow (tail -f ) |
true |
delay |
PropTypes.number |
Delay between refresh in seconds | 10 |
showTopToolbar |
PropTypes.bool |
Show top toolbar | true |
showBottomToolbar |
PropTypes.bool |
Show bottom toolbar | true |
backgroundColor |
PropTypes.string |
Set background color | #000000 |
dateTimeColor |
PropTypes.string |
Set datetime color | #dddddd |
systemColor |
PropTypes.string |
Set system color | #b58900 |
programColor |
PropTypes.string |
Set program color | #258ccd |
messageColor |
PropTypes.string |
Set message color | #dddddd |
topToolbarBackgroundColor |
PropTypes.string |
Set top toolbar background color | #03498f |
bottomToolbarBackgroundColor |
PropTypes.string |
Set bottom toolbar background color | #03498f |
Development
npm install
npm start
Example
History
View the changelog
Authors
License
Copyright (c) 2016 Quentin Rousseau <contact@quent.in> Permission is hereby granted, free of charge, to any personobtaining a copy of this software and associated documentationfiles (the "Software"), to deal in the Software withoutrestriction, including without limitation the rights to use,copy, modify, merge, publish, distribute, sublicense, and/or sellcopies of the Software, and to permit persons to whom theSoftware is furnished to do so, subject to the followingconditions: The above copyright notice and this permission notice shall beincluded in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIESOF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE ANDNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHTHOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISINGFROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OROTHER DEALINGS IN THE SOFTWARE.