feat(nvim): implement basic layout
This commit is contained in:
17
src/components/Nvim/NvimStatusBar.tsx
Normal file
17
src/components/Nvim/NvimStatusBar.tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
export const NvimStatusBar = (props: {
|
||||
label: string;
|
||||
labelColor: string;
|
||||
fileName: string;
|
||||
}) => (
|
||||
<div className="bg-[#29293c]">
|
||||
<span className="text-black" style={{ background: props.labelColor }}>
|
||||
{` ${props.label} `}
|
||||
</span>
|
||||
<span className="text-[#474353]" style={{ background: props.labelColor }}>
|
||||
{"\ue0ba"}
|
||||
</span>
|
||||
<span className="bg-[#474353] text-[#373040]">{"\ue0ba"}</span>
|
||||
<span className="bg-[#373040] text-white">{` ${props.fileName} `}</span>
|
||||
<span className="bg-[#373040] text-[#29293c]">{"\ue0ba"}</span>
|
||||
</div>
|
||||
);
|
||||
Reference in New Issue
Block a user