Skip to content

Open-source and local-first Slack and Notion alternative that puts you in control of your data

422 B
Raw Blame
import { EmojiPickerCategoryRow } from '@colanode/client/types';

interface EmojiBrowserCategoryProps {
  row: EmojiPickerCategoryRow;
  style: React.CSSProperties;
}

export const EmojiBrowserCategory = ({
  row,
  style,
}: EmojiBrowserCategoryProps) => {
  return (
    <div
      className="flex items-center pl-1 text-sm text-muted-foreground"
      style={style}
    >
      <p>{row.category}</p>
    </div>
  );
};