diff --git a/src/components/semantics/Idiomatic.stories.jsx b/src/components/semantics/Idiomatic.stories.jsx new file mode 100644 index 0000000..5ce7ff8 --- /dev/null +++ b/src/components/semantics/Idiomatic.stories.jsx @@ -0,0 +1,17 @@ +import * as React from "react" +import * as ReactDOM from "react-dom" +import * as Decorators from "../../utils/Decorators" +import { Idiomatic as IdiomaticComponent } from "./Idiomatic" + + +export default { + component: IdiomaticComponent, + title: "Semantics/Idiomatic", + decorators: [Decorators.Bluelib], +} + + +export const Idiomatic = props => ( + +) +Idiomatic.args = {} diff --git a/src/components/semantics/Idiomatic.tsx b/src/components/semantics/Idiomatic.tsx new file mode 100644 index 0000000..303c244 --- /dev/null +++ b/src/components/semantics/Idiomatic.tsx @@ -0,0 +1,17 @@ +import * as React from "react" +import * as ReactDOM from "react-dom" +import * as Types from "../../types" +import {BaseElement} from "../BaseElement" +import mergeClassNames from "classnames" + + +export interface IdiomaticProps extends Types.BluelibHTMLProps {} + + +export function Idiomatic({...props}: IdiomaticProps): JSX.Element { + props.bluelibClassNames = mergeClassNames(props.bluelibClassNames, "semantic-i") + + return ( + + ) +}