# useCreateDataSet

```ts
function useCreateDataSet(props): UseMutationResult<DataSetCreateSuccess, Error, UseCreateDataSetVariables, unknown>;
```

Defined in: [packages/synapse-react/src/warm-storage/use-create-data-set.ts:26](https://github.com/FilOzone/synapse-sdk/blob/0f05167c0ef6f8716d85fd6a9ba0e6b588330a25/packages/synapse-react/src/warm-storage/use-create-data-set.ts#L26)

## Parameters

| Parameter | Type |
| ------ | ------ |
| `props` | [`UseCreateDataSetProps`](/reference/filoz/synapse-react/interfaces/usecreatedatasetprops/) |

## Returns

`UseMutationResult`\<[`DataSetCreateSuccess`](/reference/filoz/synapse-core/sp/type-aliases/datasetcreatesuccess/), [`Error`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error), [`UseCreateDataSetVariables`](/reference/filoz/synapse-react/interfaces/usecreatedatasetvariables/), `unknown`\>