mirror of
https://bitbucket.org/Mattrixwv/mattrixwvreactcomponents.git
synced 2025-12-06 21:53:57 -05:00
Toaster component created
This commit is contained in:
@@ -14,6 +14,8 @@ import WarningCheckbox from "$/component/input/checkbox/WarningCheckbox";
|
||||
import DateInput from "$/component/input/date/DateInput";
|
||||
import DateTimeInput from "$/component/input/date/DateTimeInput";
|
||||
import TimeInput from "$/component/input/date/TimeInput";
|
||||
import MultiNumberSlider from "$/component/input/number/MultiNumberSlider";
|
||||
import NumberSlider from "$/component/input/number/NumberSlider";
|
||||
import DangerRadioButton from "$/component/input/radio/DangerRadioButton";
|
||||
import DarkRadioButton from "$/component/input/radio/DarkRadioButton";
|
||||
import InfoRadioButton from "$/component/input/radio/InfoRadioButton";
|
||||
@@ -43,7 +45,7 @@ import { useState } from "react";
|
||||
import { BsCheck, BsX } from "react-icons/bs";
|
||||
|
||||
|
||||
export function SwitchContent(): React.ReactNode{
|
||||
export function SwitchContent(){
|
||||
const sizes: MattrixwvSwitchSize[] = [ "xs", "sm", "md", "lg", "xl" ];
|
||||
|
||||
|
||||
@@ -761,3 +763,16 @@ export function DateContent(){
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export function SliderContent(){
|
||||
return (
|
||||
<div
|
||||
className="flex flex-col items-center justify-center my-8 gap-y-8"
|
||||
>
|
||||
<NumberSlider
|
||||
/>
|
||||
<MultiNumberSlider
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user