Skip to content

Commit

Permalink
Export avatar utility functions (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
germain-gg authored Aug 9, 2023
1 parent 7f6eb30 commit d3ef08d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

/**
* Export React components
*/

export { ActionControl } from "./components/ActionControl/ActionControl";
export { Alert } from "./components/Alert/Alert";
export { Avatar } from "./components/Avatar/Avatar";
Expand All @@ -40,3 +44,10 @@ export { Root } from "./components/Form/Root";
export { Submit } from "./components/Form/Submit";
export { Toggle } from "./components/Toggle/Toggle";
export { ValidityState } from "./components/Form/ValidityState";

/**
* Export utility functions
*/

export { useIdColorHash } from "./components/Avatar/useIdColorHash";
export { getInitialLetter } from "./utils/string";

0 comments on commit d3ef08d

Please sign in to comment.