Feat UI add end user auth to controls page (#11991)
relates to #11002 Implements the UI for mdm macos setup end user authentication page.   - [x] Changes file added for user-visible changes in `changes/` or `orbit/changes/`. - [x] Manual QA for all new/changed functionality
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import { Meta, StoryObj } from "@storybook/react";
|
||||
|
||||
import SectionHeader from ".";
|
||||
|
||||
const meta: Meta<typeof SectionHeader> = {
|
||||
title: "Components/SectionHeader",
|
||||
component: SectionHeader,
|
||||
args: { title: "Section header title" },
|
||||
};
|
||||
|
||||
export default meta;
|
||||
|
||||
type Story = StoryObj<typeof SectionHeader>;
|
||||
|
||||
export const Basic: Story = {};
|
||||
@@ -0,0 +1,13 @@
|
||||
import React from "react";
|
||||
|
||||
const baseClass = "section-header";
|
||||
|
||||
interface ISectionHeaderProps {
|
||||
title: string;
|
||||
}
|
||||
|
||||
const SectionHeader = ({ title }: ISectionHeaderProps) => {
|
||||
return <h2 className={baseClass}>{title}</h2>;
|
||||
};
|
||||
|
||||
export default SectionHeader;
|
||||
@@ -0,0 +1,8 @@
|
||||
.section-header {
|
||||
margin: 0 0 $pad-large;
|
||||
padding-bottom: $pad-small;
|
||||
font-size: $medium;
|
||||
font-weight: $regular;
|
||||
color: $core-fleet-black;
|
||||
border-bottom: solid 1px $ui-fleet-black-10;
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
export { default } from "./SectionHeader";
|
||||
Reference in New Issue
Block a user