Skip to content

Commit

Permalink
Merge pull request #281 from element-hq/florianduros/export-inline-sp…
Browse files Browse the repository at this point in the history
…inner

Export `InlineSpinner`
  • Loading branch information
florianduros authored Nov 20, 2024
2 parents a63e0a2 + 5c6c5b8 commit eae30e5
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Form/Message.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import ErrorIcon from "@vector-im/compound-design-tokens/assets/web/icons/error"

import styles from "./form.module.css";
import classNames from "classnames";
import { InlineSpinner } from "../InlineSpinner/InlineSpinner";
import { InlineSpinner } from "../InlineSpinner";

type MessageProps = {
/**
Expand Down
17 changes: 17 additions & 0 deletions src/components/InlineSpinner/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/*
Copyright 2024 New Vector Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

export { InlineSpinner } from "./InlineSpinner";
3 changes: 2 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ export { Tooltip } from "./components/Tooltip/Tooltip";
export { TooltipProvider } from "./components/Tooltip/TooltipProvider";
export { ReleaseAnnouncement } from "./components/ReleaseAnnouncement";
export { Toast } from "./components/Toast/Toast";
export { Dropdown } from "./components//Dropdown";
export { Dropdown } from "./components/Dropdown";
export { InlineSpinner } from "./components/InlineSpinner";

export {
TextControl,
Expand Down

0 comments on commit eae30e5

Please sign in to comment.