{"id":23921401,"url":"https://github.com/flexcodelabs/flexcodelabs-button","last_synced_at":"2025-02-23T21:42:09.489Z","repository":{"id":50578185,"uuid":"519484100","full_name":"flexcodelabs/flexcodelabs-button","owner":"flexcodelabs","description":null,"archived":false,"fork":false,"pushed_at":"2022-07-31T11:48:23.000Z","size":644,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-01-05T16:15:35.228Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flexcodelabs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-07-30T10:20:07.000Z","updated_at":"2022-07-31T11:31:17.000Z","dependencies_parsed_at":"2022-09-24T14:02:43.003Z","dependency_job_id":null,"html_url":"https://github.com/flexcodelabs/flexcodelabs-button","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"flexcodelabs/typescript-packages-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flexcodelabs%2Fflexcodelabs-button","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flexcodelabs%2Fflexcodelabs-button/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flexcodelabs%2Fflexcodelabs-button/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flexcodelabs%2Fflexcodelabs-button/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flexcodelabs","download_url":"https://codeload.github.com/flexcodelabs/flexcodelabs-button/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240385197,"owners_count":19792979,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-05T16:15:43.809Z","updated_at":"2025-02-23T21:42:09.454Z","avatar_url":"https://github.com/flexcodelabs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @flexcodelabs/button\n\n[![npm](https://img.shields.io/npm/v/@flexcodelabs/button)](https://www.npmjs.com/package/@flexcodelabs/button) [![NPM](https://img.shields.io/npm/l/@flexcodelabs/button)](https://www.npmjs.com/package/@flexcodelabs/button)\n\n- [Packe Component](#@flexcodelabs/button)\n  - [Features](#features)\n  - [Installation](#Installation)\n  - [Usage](#usage)\n  - [Examples](#examples)\n  - [Props](#props)\n\n## Features\n\n- Loader\n- Disabled\n- Icon or Text or Both\n- can be used as link\n\n## Installation\n\n`npm install @flexcodelabs/button`\n\nor\n\n`yarn add @flexcodelabs/button`\n\n## Usage\n\n```js\nimport Button from \"@flexcodelabs/button\";\n\n\u003cButton\n  label=\"Button\"\n  style={{\n    padding: 10,\n    background: \"black\",\n  }}\n/\u003e;\n```\n\n## Examples\n\n[Source code](https://github.com/flexcodelabs/flexcodelabs-button)\n\n## Props\n\n| Name      | Type                                     | Default | Required | Description                                  |\n| --------- | ---------------------------------------- | ------- | -------- | -------------------------------------------- |\n| label     | `ReactNode or string`                    | ``      | `false`  | Button content                               |\n| style     | `CSSProperties`                          | ``      | `false`  | Custome styles                               |\n| className | `string`                                 | ``      | `false`  | Custom classname                             |\n| ripple    | `boolean`                                | ``      | `false`  | Whether to add ripple effect on button click |\n| disabled  | `boolean`                                | ``      | `false`  | Button disabled status                       |\n| type      | `button or submit or reset or undefined` | ``      | `false`  |                                              |\n| href      | `string`                                 | ``      | `false`  | destination for next projects                |\n| to        | `string`                                 | ``      | `false`  | destination for react router dom             |\n| Link      | `any`                                    | ``      | `false`  | can be Link from react router or next/link   |\n| loading   | `boolean`                                | ``      | `false`  | buttonloading status                         |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflexcodelabs%2Fflexcodelabs-button","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflexcodelabs%2Fflexcodelabs-button","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflexcodelabs%2Fflexcodelabs-button/lists"}