mirror of
https://github.com/duckietm/Nitro-V3.git
synced 2026-06-20 15:36:18 +00:00
🆙 Init V3
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import { FC } from 'react';
|
||||
import { LocalizeText } from '../../../api';
|
||||
import { Text } from '../../../common';
|
||||
import { useWired } from '../../../hooks';
|
||||
|
||||
export const WiredFurniSelectorView: FC<{}> = props =>
|
||||
{
|
||||
const { trigger = null, furniIds = [] } = useWired();
|
||||
|
||||
return (
|
||||
<div className="flex flex-col gap-1">
|
||||
<Text bold>{ LocalizeText('wiredfurni.pickfurnis.caption', [ 'count', 'limit' ], [ furniIds.length.toString(), trigger.maximumItemSelectionCount.toString() ]) }</Text>
|
||||
<Text small>{ LocalizeText('wiredfurni.pickfurnis.desc') }</Text>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
Reference in New Issue
Block a user