Remove noisy stories
This commit is contained in:
parent
1fa3d6133c
commit
955b6cac45
@ -17,6 +17,7 @@ export const Default: Story = {
|
|||||||
render: () => (
|
render: () => (
|
||||||
<KcPageStory
|
<KcPageStory
|
||||||
kcContext={{
|
kcContext={{
|
||||||
|
messageHeader: "Message header",
|
||||||
message: {
|
message: {
|
||||||
summary: "Server info message"
|
summary: "Server info message"
|
||||||
}
|
}
|
||||||
@ -29,6 +30,7 @@ export const WithLinkBack: Story = {
|
|||||||
render: () => (
|
render: () => (
|
||||||
<KcPageStory
|
<KcPageStory
|
||||||
kcContext={{
|
kcContext={{
|
||||||
|
messageHeader: "Message header",
|
||||||
message: {
|
message: {
|
||||||
summary: "Server message"
|
summary: "Server message"
|
||||||
},
|
},
|
||||||
@ -42,6 +44,7 @@ export const WithRequiredActions: Story = {
|
|||||||
render: () => (
|
render: () => (
|
||||||
<KcPageStory
|
<KcPageStory
|
||||||
kcContext={{
|
kcContext={{
|
||||||
|
messageHeader: "Message header",
|
||||||
message: {
|
message: {
|
||||||
summary: "Required actions: "
|
summary: "Required actions: "
|
||||||
},
|
},
|
||||||
@ -55,42 +58,3 @@ export const WithRequiredActions: Story = {
|
|||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
};
|
};
|
||||||
export const WithPageRedirect: Story = {
|
|
||||||
render: () => (
|
|
||||||
<KcPageStory
|
|
||||||
kcContext={{
|
|
||||||
message: { summary: "You will be redirected shortly." },
|
|
||||||
pageRedirectUri: "https://example.com"
|
|
||||||
}}
|
|
||||||
/>
|
|
||||||
)
|
|
||||||
};
|
|
||||||
export const WithoutClientBaseUrl: Story = {
|
|
||||||
render: () => (
|
|
||||||
<KcPageStory
|
|
||||||
kcContext={{
|
|
||||||
message: { summary: "No client base URL defined." },
|
|
||||||
client: { baseUrl: undefined }
|
|
||||||
}}
|
|
||||||
/>
|
|
||||||
)
|
|
||||||
};
|
|
||||||
export const WithMessageHeader: Story = {
|
|
||||||
render: () => (
|
|
||||||
<KcPageStory
|
|
||||||
kcContext={{
|
|
||||||
messageHeader: "Important Notice",
|
|
||||||
message: { summary: "This is an important message." }
|
|
||||||
}}
|
|
||||||
/>
|
|
||||||
)
|
|
||||||
};
|
|
||||||
export const WithAdvancedMessage: Story = {
|
|
||||||
render: () => (
|
|
||||||
<KcPageStory
|
|
||||||
kcContext={{
|
|
||||||
message: { summary: "Please take note of this <strong>important</strong> information." }
|
|
||||||
}}
|
|
||||||
/>
|
|
||||||
)
|
|
||||||
};
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user