<Control type="text" size="sm" style={{ width: '146px' }} placeholder="Enter new library name" onInput={(e) => setLibraryName((e.target as HTMLInputElement).value)} onBlur={() => dispatch(posesSlice.actions.setLibrary({ name: libraryName }))} />
<Control type="text" size="sm" style={{ width: '146px' }} placeholder="Enter new library name" onInput={(e) => setLibraryName((e.target as HTMLInputElement).value)} onBlur={() => dispatch(posesSlice.actions.setLibrary({ name: libraryName }))} />