@ksense-tech/components
TypeScript icon, indicating that this package has built-in type declarations

2.0.10 • Public • Published

@ksense-tech/components

A collection of reusable React components for building amazing user interfaces.

Installation

You can install this library using npm or yarn:

npm install @ksense-tech/components

or

yarn add @ksense-tech/components

Usage

Import the components you need and start building!

import React from "react";
import { RichTextEditor, RichTextEditorProps } from "@ksense-tech/components";


const App = () => {
  const props: RichTextEditorProps = {
    // ...Your props here
  };

  return (
    <div>
      <RichTextEditor {...props} />
    </div>
  );
};

export default App;

Styling

This library provides customizable styles for its components. You can use the "sx" prop to apply custom styles using Emotion's CSS-in-JS syntax:

<RichTextEditor
  {...props}
  sx={{
    backgroundColor: "blue !important",
    color: "white !important",
    "&:hover": {
      backgroundColor: "darkblue  !important",
    },
    "& .toolbar": {
      backgroundColor: "lightblue  !important",
    },
  }}
/>

Package Sidebar

Install

npm i @ksense-tech/components

Weekly Downloads

23

Version

2.0.10

License

ISC

Unpacked Size

15.3 MB

Total Files

282

Last publish

Collaborators

  • hunter_southworth