@makechtec/tlapali
TypeScript icon, indicating that this package has built-in type declarations

1.1.2 • Public • Published

Tlapali

Installation

npm install @makechtec/tlapali @makechtec/tlapali_themes @makechtec/tlapali_langs

Usage

import { Code } from '@makechtec/tlapali';
import { Makech } from '@makechtec/tlapali_themes';
import { Java } from '@makechtec/tlapali_langs';

export const App = () => {

    return(
        <Code theme={Makech} lang={Java}>
            {`
                public class App {
                    private static final String name;
                }
            `}
        </Code>
    );

};

Notice that the children component is a multi-line string enclosed by curly brackets and backquotes.

Dependencies (2)

Dev Dependencies (17)

Package Sidebar

Install

npm i @makechtec/tlapali

Weekly Downloads

2

Version

1.1.2

License

MIT

Unpacked Size

43.5 kB

Total Files

25

Last publish

Collaborators

  • makechtec