Notoriously Pedantic Magistrate

    @taystack/use-capitalized

    1.0.3 • Public • Published

    use-capitalized

    Capitalizes and returns a text argument during the render process.

    NPM JavaScript Style Guide

    Install

    yarn add @taystack/use-capitalized

    Usage

    import React, { Component } from "react";
    
    import useCapitalized from "@taystack/use-capitalized";
    
    const Example = ({ name }) => {
      const example = useCapitalized(name);
      return (
        <div>{example}</div>
      );
    }

    License

    MIT © taystack


    This hook is created using create-react-hook.

    Keywords

    none

    Install

    npm i @taystack/use-capitalized

    DownloadsWeekly Downloads

    0

    Version

    1.0.3

    License

    MIT

    Unpacked Size

    15.8 kB

    Total Files

    15

    Last publish

    Collaborators

    • taystack