https://github.com/xgqfrms/conf-ticket-card
React Conf Ticket Card Component
https://github.com/xgqfrms/conf-ticket-card
card components conf react ticket
Last synced: 3 months ago
JSON representation
React Conf Ticket Card Component
- Host: GitHub
- URL: https://github.com/xgqfrms/conf-ticket-card
- Owner: xgqfrms
- License: mit
- Created: 2020-10-14T10:20:44.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-04-28T05:53:08.000Z (about 3 years ago)
- Last Synced: 2025-03-09T03:34:44.714Z (over 1 year ago)
- Topics: card, components, conf, react, ticket
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/conf-ticket-card
- Size: 42 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Conf Ticket Card
> react, conf ticket, card component
https://github.com/xgqfrms/Conf-Ticket-Card
https://www.npmjs.com/package/conf-ticket-card
## install
```sh
# conf-ticket-card
$ yarn add conf-ticket-card
# OR
$ npm i conf-ticket-card
```
## usage
```js
import React, { Component } from "react";
import ConfTicketCard from "conf-ticket-card";
class App extends Component {
constructor(props) {
super();
this.state = {
username: "",
avatar: "",
account: "",
date: "",
time: "",
uid: "",
icons: [],
link: "",
host: "",
sponsor: "",
slogan: "",
};
}
onClick = (e) => {
log(`click event =`, e);
}
render() {
const {
username,
avatar,
account,
date,
time,
uid,
icons,
link,
host,
sponsor,
slogan,
} = this.state;
return (
);
}
```