mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-02 11:35:57 +01:00
After many days invested in making tailwind work in the SCM-Manager environment as well as a long discussion last week, we have decided not to move further with tailwind, but still keep adding new, independent modules for frontend components. Tailwind simply overcomplicated our build pipeline because bulma was already part of the api and the two were incompatible on several occasions. Styling will continue to be guided by bulma and all parts related to tailwind are removed. We therefore continue the trend of focusing on improving our existing stack rather than adding further complexity.
23 lines
649 B
Plaintext
23 lines
649 B
Plaintext
import { Meta, Story } from "@storybook/addon-docs";
|
|
import { Button } from "../src";
|
|
|
|
<Meta title="Usage" parameters={{
|
|
storyshots: { disable: true }
|
|
}} />
|
|
|
|
In confirmation dialogs, there are two actions.<br/>
|
|
One to cancel the current process and one to confirm it.<br/>
|
|
Aborting is always the secondary action, confirmation always the primary.
|
|
Focus is always on the cancelling action.
|
|
|
|
<Story name="Confirmation Dialog">
|
|
<div>
|
|
<h4>Delete User</h4>
|
|
<p>Do you really want to delete this user ?</p>
|
|
<div>
|
|
<Button variant="secondary">Cancel</Button>
|
|
<Button variant="primary">Delete</Button>
|
|
</div>
|
|
</div>
|
|
</Story>
|