{"id":25125737,"url":"https://github.com/denimar/deni-react-modal","last_synced_at":"2025-04-02T18:42:06.510Z","repository":{"id":57211893,"uuid":"124101256","full_name":"denimar/deni-react-modal","owner":"denimar","description":"A cool way to show a modal using React","archived":false,"fork":false,"pushed_at":"2018-05-23T03:03:49.000Z","size":1891,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-08T12:43:29.944Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/denimar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-MIT","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-03-06T15:50:04.000Z","updated_at":"2018-05-23T03:03:50.000Z","dependencies_parsed_at":"2022-09-08T19:21:21.261Z","dependency_job_id":null,"html_url":"https://github.com/denimar/deni-react-modal","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denimar%2Fdeni-react-modal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denimar%2Fdeni-react-modal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denimar%2Fdeni-react-modal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denimar%2Fdeni-react-modal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/denimar","download_url":"https://codeload.github.com/denimar/deni-react-modal/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246871198,"owners_count":20847438,"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-02-08T09:15:31.282Z","updated_at":"2025-04-02T18:42:06.479Z","avatar_url":"https://github.com/denimar.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# deni-react-modal\nA cool way to show a modal using React\n\n![alt text](https://raw.githubusercontent.com/denimar/deni-react-modal/master/deni-react-modal.png)\n\n[DEMOS](https://denimar.github.io/deni-react-modal/)\n\n\n# Usage\n\n#### Create your modal by extending from DeniReactModal like this:\n```javascript\n\nimport { DeniReactModal } from 'deni-react-modal'\n\nclass SimpleModal extends DeniReactModal {\n\n  getConfig() {\n    return {\n      title: 'Simple Modal',\n      width: '650px',\n    }\n  }\n\n  render() {\n    return (\n      \u003cdiv\u003e\n        React Components Here\n      \u003c/div\u003e\n    )\n  }\n\n}\n\nexport default SimpleModal;\n\n```\n\n#### ..and then call that class like this:\n\n```javascript\n\nimport SimpleModal from './SimpleModal'\n...\nlet modal = new SimpleModal();\nmodal.show();\n\n```\n\n## Theming\n\nYou can use themes by passing in show method like this: \n```javascript\n...\nmodal.show('indigo');\n```\n\nOr using \"setTheme\" method like this: \n```javascript\n...\nmodal.setTheme('indigo');\n```\n\n#### Available themes: \n* red\n* pink\n* purple\n* deep-purple\n* indigo\n* blue\n* light-blue\n* cyan\n* teal\n* green\n* light-green\n* lime\n* yellow\n* amber\n* orange\n* deep-orange\n* brown\n* grey\n* blue-grey\n\n## Author\n\n[Denimar de Moraes](http://github.com/denimar) (denimar@gmail.com) is a full-stack developper at the Wplex, Florianópolis, Santa Catarina, Brazil.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenimar%2Fdeni-react-modal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdenimar%2Fdeni-react-modal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenimar%2Fdeni-react-modal/lists"}