
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
my-component-sameed
Advanced tools
Made By Sameed Hasan
npm install -f my-component-sameed
import React, { Component } from 'react'
import MyComponent from 'my-component-sameed'
// import 'my-component-sameed/dist/index.css'
class App extends Component {
render() {
return (
<MyComponent
shifts={4}
tasksArray={tasksArray}
durationsArray={durationsArray}
resourcesArray={resourcesArray}
/>
)
}
}
If props will not be passed then default values will be used
shifts: 4,
tasksArray: [],
durationsArray: [],
resourcesArray: [],
const tasksArray = [
{
id: 1,
name: 'Task 1'
},
{
id: 2,
name: 'Task 2'
},
{
id: 3,
name: 'Task 3'
},
{
id: 4,
name: 'Task 4'
},
{
id: 5,
name: 'Task 5'
},
{
id: 6,
name: 'Task 6'
}
]
const durationsArray = [
{
id: 1,
start: '2023-01-02',
end: '2023-01-08',
task: 1,
resources: [
{
id: 1,
title: 'Resouce 1',
color: 'red'
},
{
id: 2,
title: 'Resouce 2',
color: 'blue'
},
{
id: 3,
title: 'Resouce 3',
color: 'green'
}
]
},
{
id: 2,
start: '2023-01-10',
end: '2023-01-15',
task: 2,
resources: [
{
id: 1,
title: 'Resouce 1',
color: 'red'
},
{
id: 2,
title: 'Resouce 2',
color: 'blue'
},
{
id: 3,
title: 'Resouce 3',
color: 'green'
}
]
},
{
id: 3,
start: '2023-01-11',
end: '2023-01-18',
task: 4,
resources: [
{
id: 6,
title: 'Resouce 6',
color: 'orange'
},
{
id: 4,
title: 'Resouce 4',
color: 'yellow'
},
{
id: 5,
title: 'Resouce 5',
color: 'black'
}
]
},
{
id: 4,
start: '2023-01-01',
end: '2023-01-02',
task: 6,
resources: [
{
id: 1,
title: 'Resouce 1',
color: 'red'
},
{
id: 2,
title: 'Resouce 2',
color: 'blue'
},
{
id: 4,
title: 'Resouce 4',
color: 'yellow'
}
]
}
]
const resourcesArray = [
{
id: 1,
title: 'Resouce 1',
color: 'red'
},
{
id: 2,
title: 'Resouce 2',
color: 'blue'
},
{
id: 3,
title: 'Resouce 3',
color: 'green'
},
{
id: 4,
title: 'Resouce 4',
color: 'yellow'
},
{
id: 5,
title: 'Resouce 5',
color: 'black'
},
{
id: 6,
title: 'Resouce 6',
color: 'orange'
}
]
MIT © SameedHasan
FAQs
Made with create-react-library
The npm package my-component-sameed receives a total of 1 weekly downloads. As such, my-component-sameed popularity was classified as not popular.
We found that my-component-sameed demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.