Skip to content

Commit

Permalink
fix: corrections in recent remarks
Browse files Browse the repository at this point in the history
  • Loading branch information
moon-ds committed Oct 10, 2023
1 parent 39fd90e commit 327f325
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 11 deletions.
3 changes: 1 addition & 2 deletions next-docs/public/examples/tagsInput/Default.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@ const Example = () => {
}, [selected, setSelected]);

return (
<div className="flex flex-col lg:flex-row lg:justify-center items-center w-full gap-4">
<div className="flex flex-col lg:flex-row lg:justify-center items-center w-full max-w-xs gap-4">
<TagsInput
selected={selected}
className="max-w-xs"
onEnter={onEnter}
onClear={onClear}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ Object {
dir="rtl"
>
<div
class="flex flex-col lg:flex-row lg:justify-center items-center w-full gap-4"
class="flex flex-col lg:flex-row lg:justify-center items-center w-full max-w-xs gap-4"
>
<span
class="w-full flex flex-col justify-between rounded-lg py-2 px-3 bg-goku gap-y-0 shadow-input hover:shadow-input-hov focus:shadow-input-focus focus:outline-none focus-visible::shadow-input-focus focus-visible::outline-none max-w-xs"
class="w-full flex flex-col justify-between rounded-lg py-2 px-3 bg-goku gap-y-0 shadow-input hover:shadow-input-hov focus:shadow-input-focus focus:outline-none focus-visible::shadow-input-focus focus-visible::outline-none"
tabindex="-1"
>
<div
Expand All @@ -32,10 +32,10 @@ Object {
dir="rtl"
>
<div
class="flex flex-col lg:flex-row lg:justify-center items-center w-full gap-4"
class="flex flex-col lg:flex-row lg:justify-center items-center w-full max-w-xs gap-4"
>
<span
class="w-full flex flex-col justify-between rounded-lg py-2 px-3 bg-goku gap-y-0 shadow-input hover:shadow-input-hov focus:shadow-input-focus focus:outline-none focus-visible::shadow-input-focus focus-visible::outline-none max-w-xs"
class="w-full flex flex-col justify-between rounded-lg py-2 px-3 bg-goku gap-y-0 shadow-input hover:shadow-input-hov focus:shadow-input-focus focus:outline-none focus-visible::shadow-input-focus focus-visible::outline-none"
tabindex="-1"
>
<div
Expand Down Expand Up @@ -1152,10 +1152,10 @@ Object {
"baseElement": <body>
<div>
<div
class="flex flex-col lg:flex-row lg:justify-center items-center w-full gap-4"
class="flex flex-col lg:flex-row lg:justify-center items-center w-full max-w-xs gap-4"
>
<span
class="w-full flex flex-col justify-between rounded-lg py-2 px-3 bg-goku gap-y-0 shadow-input hover:shadow-input-hov focus:shadow-input-focus focus:outline-none focus-visible::shadow-input-focus focus-visible::outline-none max-w-xs"
class="w-full flex flex-col justify-between rounded-lg py-2 px-3 bg-goku gap-y-0 shadow-input hover:shadow-input-hov focus:shadow-input-focus focus:outline-none focus-visible::shadow-input-focus focus-visible::outline-none"
tabindex="-1"
>
<div
Expand All @@ -1171,10 +1171,10 @@ Object {
</body>,
"container": <div>
<div
class="flex flex-col lg:flex-row lg:justify-center items-center w-full gap-4"
class="flex flex-col lg:flex-row lg:justify-center items-center w-full max-w-xs gap-4"
>
<span
class="w-full flex flex-col justify-between rounded-lg py-2 px-3 bg-goku gap-y-0 shadow-input hover:shadow-input-hov focus:shadow-input-focus focus:outline-none focus-visible::shadow-input-focus focus-visible::outline-none max-w-xs"
class="w-full flex flex-col justify-between rounded-lg py-2 px-3 bg-goku gap-y-0 shadow-input hover:shadow-input-hov focus:shadow-input-focus focus:outline-none focus-visible::shadow-input-focus focus-visible::outline-none"
tabindex="-1"
>
<div
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export interface TagsInputRootProps
'children' | 'ref'
> {
children?: React.ReactNode;
label?: string;
label?: JSX.Element | string;
selected: string[];
className?: string;
placeholder?: string;
Expand Down

0 comments on commit 327f325

Please sign in to comment.