Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Alert.stories.tsx #1138

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions stories/Components/Alert.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,18 @@ type Story = StoryObj<typeof Alert>;
export const _EsempiInterattivi: Story = {
render: ({ ...args }) => (
<Alert {...args}>
Questo è un alert di<b>{args.color}</b>!
Questo è un alert di{" "}<b>{args.color}</b>!
</Alert>
)
};

export const _LinkEvidenziato: Story = {
render: ({ ...args }) => (
<Alert {...args}>
Questo è un alert con un esempio di
<a href='#' className='alert-link'>
Questo è un alert con un esempio di{" "}
<a href="#" className="alert-link">
link
</a>
evidenziato.
</a>{" "}
</Alert>
),
args: {
Expand Down Expand Up @@ -68,7 +67,7 @@ const ChiusuraControllataWithHooks = ({ ...args }) => {
return (
<div>
<Alert {...args} isOpen={open} toggle={closeAlert}>
<strong>Attenzione</strong>Alcuni campi inseriti sono da controllare.
<strong>Attenzione:</strong> Alcuni campi inseriti sono da controllare.
</Alert>
</div>
);
Expand Down
Loading