mirror of
https://github.com/billsonnn/nitro-react.git
synced 2025-01-31 10:22:36 +01:00
Update wired validators
This commit is contained in:
parent
578d24cabb
commit
8be3c6fff0
@ -1,9 +1,9 @@
|
|||||||
import { FC, useCallback, useEffect, useState } from 'react';
|
import { FC, useCallback, useEffect, useState } from 'react';
|
||||||
import { LocalizeText } from '../../../../../api';
|
import { LocalizeText } from '../../../../api';
|
||||||
import { WiredFurniType } from '../../../common/WiredFurniType';
|
import { WiredFurniType } from '../../common/WiredFurniType';
|
||||||
import { WIRED_STRING_DELIMETER } from '../../../common/WiredStringDelimeter';
|
import { WIRED_STRING_DELIMETER } from '../../common/WiredStringDelimeter';
|
||||||
import { useWiredContext } from '../../../context/WiredContext';
|
import { useWiredContext } from '../../context/WiredContext';
|
||||||
import { WiredActionBaseView } from '../base/WiredActionBaseView';
|
import { WiredActionBaseView } from './WiredActionBaseView';
|
||||||
|
|
||||||
export const WiredActionBotTalkToAvatarView: FC<{}> = props =>
|
export const WiredActionBotTalkToAvatarView: FC<{}> = props =>
|
||||||
{
|
{
|
||||||
|
@ -23,7 +23,7 @@ export const WiredActionChatView: FC<{}> = props =>
|
|||||||
<WiredActionBaseView requiresFurni={ WiredFurniType.STUFF_SELECTION_OPTION_NONE } save={ save }>
|
<WiredActionBaseView requiresFurni={ WiredFurniType.STUFF_SELECTION_OPTION_NONE } save={ save }>
|
||||||
<div className="form-group">
|
<div className="form-group">
|
||||||
<label className="fw-bold">{ LocalizeText('wiredfurni.params.message') }</label>
|
<label className="fw-bold">{ LocalizeText('wiredfurni.params.message') }</label>
|
||||||
<input type="text" className="form-control form-control-sm" value={ message } onChange={ event => setMessage(event.target.value) } />
|
<input type="text" className="form-control form-control-sm" value={ message } onChange={ event => setMessage(event.target.value) } maxLength={ 100 } />
|
||||||
</div>
|
</div>
|
||||||
</WiredActionBaseView>
|
</WiredActionBaseView>
|
||||||
);
|
);
|
||||||
|
@ -23,7 +23,7 @@ export const WiredActionKickFromRoomView: FC<{}> = props =>
|
|||||||
<WiredActionBaseView requiresFurni={ WiredFurniType.STUFF_SELECTION_OPTION_NONE } save={ save }>
|
<WiredActionBaseView requiresFurni={ WiredFurniType.STUFF_SELECTION_OPTION_NONE } save={ save }>
|
||||||
<div className="form-group">
|
<div className="form-group">
|
||||||
<label className="fw-bold">{ LocalizeText('wiredfurni.params.message') }</label>
|
<label className="fw-bold">{ LocalizeText('wiredfurni.params.message') }</label>
|
||||||
<input type="text" className="form-control form-control-sm" value={ message } onChange={ event => setMessage(event.target.value) } />
|
<input type="text" className="form-control form-control-sm" value={ message } onChange={ event => setMessage(event.target.value) } maxLength={ 100 } />
|
||||||
</div>
|
</div>
|
||||||
</WiredActionBaseView>
|
</WiredActionBaseView>
|
||||||
);
|
);
|
||||||
|
@ -36,7 +36,7 @@ export const WiredActionMuteUserView: FC<{}> = props =>
|
|||||||
</div>
|
</div>
|
||||||
<div className="form-group">
|
<div className="form-group">
|
||||||
<label className="fw-bold">{ LocalizeText('wiredfurni.params.message') }</label>
|
<label className="fw-bold">{ LocalizeText('wiredfurni.params.message') }</label>
|
||||||
<input type="text" className="form-control form-control-sm" value={ message } onChange={ event => setMessage(event.target.value) } />
|
<input type="text" className="form-control form-control-sm" value={ message } onChange={ event => setMessage(event.target.value) } maxLength={ 100 } />
|
||||||
</div>
|
</div>
|
||||||
</WiredActionBaseView>
|
</WiredActionBaseView>
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user