mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-12-21 15:59:48 +01:00
Integrate tailwind css and create new button library (#2098)
Introduce tailwind as new frontend styling library to replace bulma in the longer run. Also create the first new ui library `ui-buttons` which will be the new standard for buttons ins SCM-Manager. In this library we reconsidered which types of buttons should be used to create a clean and consistent ui. Co-authored-by: Eduard Heimbuch <eduard.heimbuch@cloudogu.com>
This commit is contained in:
committed by
GitHub
parent
09beb8cd3b
commit
27dbcbf28d
@@ -29,7 +29,6 @@ import Button from "../buttons/Button";
|
||||
import { MemoryRouter } from "react-router-dom";
|
||||
import { useForm } from "react-hook-form";
|
||||
import { SubmitButton } from "../buttons";
|
||||
import { Person } from "@scm-manager/ui-types";
|
||||
|
||||
const Decorator = styled.div`
|
||||
padding: 2rem;
|
||||
@@ -74,9 +73,9 @@ const ReactHookForm: FC = () => {
|
||||
handleSubmit,
|
||||
formState: { errors },
|
||||
} = useForm<Name>();
|
||||
const [stored, setStored] = useState<Person>();
|
||||
const [stored, setStored] = useState<Name>();
|
||||
|
||||
const onSubmit = (person: Person) => {
|
||||
const onSubmit = (person: Name) => {
|
||||
setStored(person);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user