Open History to see the last commit
1import * as React from 'react';
2export const SidebarHeading = ({
3 title,
4 children
5}) => {
6 return (// <div>
7 // <h4 className="font-semibold uppercase text-sm my-4">{title}</h4>
8 // <div>{children}</div>
9 // </div>
10 <div className="heading">
11 <h4>{title}</h4>
12 <div>{children}</div>
13 <style jsx>{`
14 h4 {
15 margin: 1.25rem 0;
16 font-size: 1.2rem;
17 font-weight: 600;
18 }
19 `}</style>
20 </div>
21 );
22};
23SidebarHeading.displayName = 'SidebarHeading';