0.1.0 • Published 6 years ago

@berhiber/fqdbanner v0.1.0

Weekly downloads
-
License
ISC
Repository
-
Last release
6 years ago

See this FQ Design Languange

Usage

propsrequiredtypesvalueresultnot specified
typenostringwarningorangedanger
dangerred
messageyesstring"Any Value"split to first 60 chars
resolvenostring"Aby Value"message link, converted to anchor message
urlTonostring"Any Value"link to, converted to href value in anchor message

Example

import Avatar from "@bia/fqdavatar";

..

<Banner
    message={`Looks like we're having trouble retrieving some information`}
    resolveLink={`http://google.com`}
    resolveMessage={`Please
    refresh the page`}
    type='warning'
  />