Sha256: 2071e8e2aa39816eb1b35bb469cb30ff2a2bcb732ab39012601980641162f8f1

Contents?: true

Size: 398 Bytes

Versions: 4

Compression:

Stored size: 398 Bytes

Contents

import React from "react";

import useTags from "./TagEditor/useTags";
import Editor from "./TagEditor/Editor";
import * as Tags from "../types/Tags";

interface Props extends Tags.State {
  name: string;
}

export default function TagEditor(props: Props) {
  const [state, dispatch] = useTags(props.tags, props.enabled);

  return <Editor name={props.name} state={state} dispatch={dispatch} />;
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pages_core-3.15.4 app/javascript/components/TagEditor.tsx
pages_core-3.15.3 app/javascript/components/TagEditor.tsx
pages_core-3.15.2 app/javascript/components/TagEditor.tsx
pages_core-3.15.1 app/javascript/components/TagEditor.tsx