ghost-portal/packages/app-js/src/constants.tsx
Stefanie Doll a056be741b
Save code snippets to local storage (#718)
* Fine tuning examples

* WIP First proposal to save snippets

* Don't add code wrapping multiple times

* Smaller adjustments

* Fix 'reset selected on load' bug

* Reverted Button size type declaration change, doesn\t belong in this PR

* Wrapper formatting

* Save button style

* removed constructor from editor

* fix metadata example

* Added constants file

* Moved local storage popup to separate component

* Remove functionality WIP

* upgraded yarn lock

* Moved Local storage to separate component, fixed lyfecycle methods, moved props.childre to render in HOC

* Changed simplyfied examples for debugging back to original

* Cleanup leftover comments

* More leftover comments cleanup

* More cleanup

* Moved makeWrapper back to seperate component

* Add code wrapper for default examples in constructor to prevent lifecycle update bugs

* Make onBlur optional

* Updated yarn.lock

* FIXME comment for ui-app Button bug inside <Popup />

* translation and removed empty classname
2019-02-19 10:49:37 +01:00

11 lines
511 B
TypeScript

// Copyright 2017-2019 @polkadot/app-js authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import { StrictLabelProps } from 'semantic-ui-react/dist/commonjs/elements/Label';
export const STORE_EXAMPLES: string = 'polkadot-app-js-examples';
export const STORE_SELECTED: string = 'polkadot-app-js-selected';
export const CUSTOM_LABEL: StrictLabelProps = { color: 'orange', children: 'Custom', size: 'tiny' };