PackageJson: Prettify markdown/mdx on commit with lint-staged (#37616)
* Format md,mdx files with prettier on lint-staged * Manually run prettier on docs/sources
This commit is contained in:
@@ -29,9 +29,7 @@ The query editor for Explore is similar to the query editor for the data source
|
||||
export type Props = ExploreQueryFieldProps<DataSource, MyQuery, MyDataSourceOptions>;
|
||||
|
||||
export default (props: Props) => {
|
||||
return (
|
||||
<h2>My query editor</h2>
|
||||
);
|
||||
return <h2>My query editor</h2>;
|
||||
};
|
||||
```
|
||||
|
||||
@@ -92,6 +90,7 @@ Explore should by default select a reasonable visualization for your data so use
|
||||
If this does not work for you or you want to show some data in a specific visualization, add a hint to your returned data frame using the `preferredVisualisationType` meta attribute.
|
||||
|
||||
You can construct a data frame with specific metadata:
|
||||
|
||||
```
|
||||
const firstResult = new MutableDataFrame({
|
||||
fields: [...],
|
||||
|
||||
Reference in New Issue
Block a user