a tool for shared writing and social publishing
at main 449 B view raw
1export const Separator = (props: { classname?: string }) => { 2 return <div className={`h-full border-r border-border ${props.classname}`} />; 3}; 4 5export const ShortcutKey = (props: { children: React.ReactNode }) => { 6 return ( 7 <span> 8 <code className="min-w-6 w-fit text-xs text-primary bg-border-light border border-secondary rounded-md px-0.5 flex justify-center font-bold "> 9 {props.children} 10 </code> 11 </span> 12 ); 13};