MCPcopy Create free account
hub / github.com/mailvelope/mailvelope / FAQSidebar

Function FAQSidebar

src/components/util/FAQSidebar.js:14–29  ·  view source on GitHub ↗
({items, titleKey = 'onboarding_faq_title'})

Source from the content-addressed store, hash-verified

12]);
13
14export default function FAQSidebar({items, titleKey = 'onboarding_faq_title'}) {
15 return (
16 <div className="col-lg-4 col-xl-3">
17 <h5 className="bg-light border-bottom p-2 mb-3 font-weight-bold">{l10n.map[titleKey]}</h5>
18 <ul className="list-unstyled px-2">
19 {items.map(item => (
20 <li key={item.url}>
21 <a href={item.url} target="_blank" rel="noopener noreferrer" className="d-block mb-2 text-primary text-decoration-none">
22 {item.label}
23 </a>
24 </li>
25 ))}
26 </ul>
27 </div>
28 );
29}
30
31FAQSidebar.propTypes = {
32 items: PropTypes.arrayOf(PropTypes.shape({

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected